예제 #1
0
        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;
            }
        }
예제 #2
0
파일: IFC C.cs 프로젝트: jenca-cloud/ggIFC
		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; }
예제 #3
0
 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;
     }
 }