Exemplo 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()));
            }
        }
Exemplo n.º 2
0
 public IfcTextStyle(IfcLabel?__Name, IfcCharacterStyleSelect __TextCharacterAppearance, IfcTextStyleSelect __TextStyle, IfcTextFontSelect __TextFontStyle)
     : base(__Name)
 {
     this._TextCharacterAppearance = __TextCharacterAppearance;
     this._TextStyle     = __TextStyle;
     this._TextFontStyle = __TextFontStyle;
 }
Exemplo 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;
 }
Exemplo 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;
            }
        }
Exemplo 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;
     }
 }