public IfcTextStyle(IfcLabel?__Name, IfcCharacterStyleSelect __TextCharacterAppearance, IfcTextStyleSelect __TextStyle, IfcTextFontSelect __TextFontStyle) : base(__Name) { this._TextCharacterAppearance = __TextCharacterAppearance; this._TextStyle = __TextStyle; this._TextFontStyle = __TextFontStyle; }
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; } }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: base.Parse(propIndex, value, nestedIndex); return; case 1: _textCharacterAppearance = (IfcCharacterStyleSelect)(value.EntityVal); return; case 2: _textStyle = (IfcTextStyleSelect)(value.EntityVal); return; case 3: _textFontStyle = (IfcTextFontSelect)(value.EntityVal); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
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; } }