Ejemplo n.º 1
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 1:
                _textCharacterAppearance = (IfcTextStyleForDefinedFont)(value.EntityVal);
                return;

            case 2:
                _textStyle = (IfcTextStyleTextModel)(value.EntityVal);
                return;

            case 3:
                _textFontStyle = (IfcTextFontSelect)(value.EntityVal);
                return;

            case 4:
                _modelOrDraughting = value.BooleanVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 2
0
 public IfcTextStyle(IfcLabel?__Name, IfcCharacterStyleSelect __TextCharacterAppearance, IfcTextStyleSelect __TextStyle, IfcTextFontSelect __TextFontStyle)
     : base(__Name)
 {
     this._TextCharacterAppearance = __TextCharacterAppearance;
     this._TextStyle     = __TextStyle;
     this._TextFontStyle = __TextFontStyle;
 }
Ejemplo n.º 3
0
 public IfcTextStyle(IfcLabel?__Name, IfcTextStyleForDefinedFont __TextCharacterAppearance, IfcTextStyleTextModel __TextStyle, IfcTextFontSelect __TextFontStyle, IfcBoolean?__ModelOrDraughting)
     : base(__Name)
 {
     this._TextCharacterAppearance = __TextCharacterAppearance;
     this._TextStyle         = __TextStyle;
     this._TextFontStyle     = __TextFontStyle;
     this._ModelOrDraughting = __ModelOrDraughting;
 }
Ejemplo n.º 4
0
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
                base.IfcParse(propIndex, value);
                break;

            case 1:
                _textCharacterAppearance = (IfcCharacterStyleSelect)value.EntityVal;
                break;

            case 2:
                _textStyle = (IfcTextStyleSelect)value.EntityVal;
                break;

            case 3:
                _textFontStyle = (IfcTextFontSelect)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
Ejemplo n.º 5
0
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             base.IfcParse(propIndex, value);
             break;
         case 1:
             _textCharacterAppearance = (IfcCharacterStyleSelect) value.EntityVal;
             break;
         case 2:
             _textStyle = (IfcTextStyleSelect) value.EntityVal;
             break;
         case 3:
             _textFontStyle = (IfcTextFontSelect) value.EntityVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }