Beispiel #1
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
                _name = value.StringVal;
                return;

            case 1:
                _curveFont = (IfcCurveStyleFontSelect)(value.EntityVal);
                return;

            case 2:
                _curveFontScaling = value.RealVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Beispiel #2
0
        public virtual void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
                _name = value.StringVal;
                break;

            case 1:
                _curveFont = (IfcCurveStyleFontSelect)value.EntityVal;
                break;

            case 2:
                _curveFontScaling = value.RealVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
Beispiel #3
0
 public IfcCurveStyleFontAndScaling(IfcLabel?__Name, IfcCurveStyleFontSelect __CurveFont, IfcPositiveRatioMeasure __CurveFontScaling)
 {
     this._Name             = __Name;
     this._CurveFont        = __CurveFont;
     this._CurveFontScaling = __CurveFontScaling;
 }
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _name = value.StringVal;
             break;
         case 1:
             _curveFont = (IfcCurveStyleFontSelect) value.EntityVal;
             break;
         case 2:
             _curveFontScaling = value.RealVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }