public IfcCurveStyle(IfcLabel?__Name, IfcCurveFontOrScaledCurveFontSelect __CurveFont, IfcSizeSelect __CurveWidth, IfcColour __CurveColour) : base(__Name) { this._CurveFont = __CurveFont; this._CurveWidth = __CurveWidth; this._CurveColour = __CurveColour; }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: base.Parse(propIndex, value, nestedIndex); return; case 1: _curveFont = (IfcCurveFontOrScaledCurveFontSelect)(value.EntityVal); return; case 2: _curveWidth = (IfcSizeSelect)(value.EntityVal); return; case 3: _curveColour = (IfcColour)(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())); } }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: _boxHeight = value.RealVal; return; case 1: _boxWidth = value.RealVal; return; case 2: _boxSlantAngle = value.RealVal; return; case 3: _boxRotateAngle = value.RealVal; return; case 4: _characterSpacing = (IfcSizeSelect)(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 Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: base.Parse(propIndex, value, nestedIndex); return; case 1: _fontFamily.InternalAdd(value.StringVal); return; case 2: _fontStyle = value.StringVal; return; case 3: _fontVariant = value.StringVal; return; case 4: _fontWeight = value.StringVal; return; case 5: _fontSize = (IfcSizeSelect)(value.EntityVal); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
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 IfcTextStyleWithBoxCharacteristics(IfcPositiveLengthMeasure?__BoxHeight, IfcPositiveLengthMeasure?__BoxWidth, IfcPlaneAngleMeasure?__BoxSlantAngle, IfcPlaneAngleMeasure?__BoxRotateAngle, IfcSizeSelect __CharacterSpacing) { this._BoxHeight = __BoxHeight; this._BoxWidth = __BoxWidth; this._BoxSlantAngle = __BoxSlantAngle; this._BoxRotateAngle = __BoxRotateAngle; this._CharacterSpacing = __CharacterSpacing; }
public IfcCurveStyle(IfcLabel?__Name, IfcCurveFontOrScaledCurveFontSelect __CurveFont, IfcSizeSelect __CurveWidth, IfcColour __CurveColour, IfcBoolean?__ModelOrDraughting) : base(__Name) { this._CurveFont = __CurveFont; this._CurveWidth = __CurveWidth; this._CurveColour = __CurveColour; this._ModelOrDraughting = __ModelOrDraughting; }
public IfcTextStyleFontModel(IfcLabel __Name, IfcTextFontName[] __FontFamily, IfcFontStyle?__FontStyle, IfcFontVariant?__FontVariant, IfcFontWeight?__FontWeight, IfcSizeSelect __FontSize) : base(__Name) { this.FontFamily = new List <IfcTextFontName>(__FontFamily); this.FontStyle = __FontStyle; this.FontVariant = __FontVariant; this.FontWeight = __FontWeight; this.FontSize = __FontSize; }
public IfcTextStyleTextModel(IfcSizeSelect __TextIndent, IfcTextAlignment?__TextAlign, IfcTextDecoration?__TextDecoration, IfcSizeSelect __LetterSpacing, IfcSizeSelect __WordSpacing, IfcTextTransformation?__TextTransform, IfcSizeSelect __LineHeight) { this.TextIndent = __TextIndent; this.TextAlign = __TextAlign; this.TextDecoration = __TextDecoration; this.LetterSpacing = __LetterSpacing; this.WordSpacing = __WordSpacing; this.TextTransform = __TextTransform; this.LineHeight = __LineHeight; }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: base.IfcParse(propIndex, value); break; case 1: if (_fontFamily == null) { _fontFamily = new XbimList <IfcTextFontName>(this); } if (value.Type == IfcParserType.String) { _fontFamily.Add(new IfcTextFontName(value.StringVal)); } else { _fontFamily.Add((IfcTextFontName)value.EntityVal); } break; case 2: _fontStyle = value.StringVal; break; case 3: _fontVariant = value.StringVal; break; case 4: _fontWeight = value.StringVal; break; case 5: _fontSize = (IfcSizeSelect)value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: base.IfcParse(propIndex, value); break; case 1: _curveFont = (IfcCurveFontOrScaledCurveFontSelect)value.EntityVal; break; case 2: _curveWidth = (IfcSizeSelect)value.EntityVal; break; case 3: _curveColour = (IfcColour)value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public virtual void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _textIndent = (IfcSizeSelect)value.EntityVal; break; case 1: _textAlign = (IfcTextAlignment)value.EntityVal; break; case 2: _textDecoration = (IfcTextDecoration)value.EntityVal; break; case 3: _letterSpacing = (IfcSizeSelect)value.EntityVal; break; case 4: _wordSpacing = (IfcSizeSelect)value.EntityVal; break; case 5: _textTransform = (IfcTextTransformation)value.EntityVal; break; case 6: _lineHeight = (IfcSizeSelect)value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: _textIndent = (IfcSizeSelect)(value.EntityVal); return; case 1: _textAlign = value.StringVal; return; case 2: _textDecoration = value.StringVal; return; case 3: _letterSpacing = (IfcSizeSelect)(value.EntityVal); return; case 4: _wordSpacing = (IfcSizeSelect)(value.EntityVal); return; case 5: _textTransform = value.StringVal; return; case 6: _lineHeight = (IfcSizeSelect)(value.EntityVal); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public virtual void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _textIndent = (IfcSizeSelect) value.EntityVal; break; case 1: _textAlign = (IfcTextAlignment) value.EntityVal; break; case 2: _textDecoration = (IfcTextDecoration) value.EntityVal; break; case 3: _letterSpacing = (IfcSizeSelect) value.EntityVal; break; case 4: _wordSpacing = (IfcSizeSelect) value.EntityVal; break; case 5: _textTransform = (IfcTextTransformation) value.EntityVal; break; case 6: _lineHeight = (IfcSizeSelect) value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: base.IfcParse(propIndex, value); break; case 1: _curveFont = (IfcCurveFontOrScaledCurveFontSelect) value.EntityVal; break; case 2: _curveWidth = (IfcSizeSelect) value.EntityVal; break; case 3: _curveColour = (IfcColour) value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
internal static IfcLengthMeasure AsIfcLengthMeasure(this IfcSizeSelect toCast) { return((IfcLengthMeasure)toCast); }
internal static IfcDescriptiveMeasure AsIfcDescriptiveMeasure(this IfcSizeSelect toCast) { return((IfcDescriptiveMeasure)toCast); }
internal IfcCurveStyle(DatabaseIfc m, string name, IfcCurveFontOrScaledCurveFontSelect font, IfcSizeSelect width, IfcColour col) : base(m, name) { if (font != null) mCurveFont = font.Index; if (width != null) mCurveWidth = width.ToString(); if (col != null) mCurveColour = col.Index; }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: base.IfcParse(propIndex, value); break; case 1: if (_fontFamily == null) _fontFamily = new XbimList<IfcTextFontName>(this); if (value.Type == IfcParserType.String) _fontFamily.Add(new IfcTextFontName(value.StringVal)); else _fontFamily.Add((IfcTextFontName)value.EntityVal); break; case 2: _fontStyle = value.StringVal; break; case 3: _fontVariant = value.StringVal; break; case 4: _fontWeight = value.StringVal; break; case 5: _fontSize = (IfcSizeSelect) value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }