void XbimExtensions.Interfaces.IPersistIfc.IfcParse(int propIndex, XbimExtensions.Interfaces.IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
                _BoxHeight = value.RealVal;
                break;

            case 1:
                _BoxWidth = value.RealVal;
                break;

            case 2:
                _BoxSlantAngle = value.RealVal;
                break;

            case 3:
                _BoxRotateAngle = value.RealVal;
                break;

            case 4:
                _CharacterSpacing = (IfcSizeSelect)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
        public override void IfcParse(int propIndex, XbimExtensions.Interfaces.IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
                _symbol = (IfcAnnotationSymbolOccurrence)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
Ejemplo n.º 3
0
        public override void IfcParse(int propIndex, XbimExtensions.Interfaces.IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
                _item = (IfcGeometricRepresentationItem)value.EntityVal;
                break;

            case 1:
                _textureCoordinates = (IfcTextureCoordinate)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }