public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: case 3: base.IfcParse(propIndex, value); break; case 4: _layerOn = value.BooleanVal; break; case 5: _layerFrozen = value.BooleanVal; break; case 6: _layerBlocked = value.BooleanVal; break; case 7: _layerStyles.Add((IfcPresentationStyleSelect) value.EntityVal); break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _degree = (int) value.IntegerVal; break; case 1: _controlPointsList = (CartesianPointList) value.EntityVal; break; case 2: _curveForm = (IfcBSplineCurveForm) Enum.Parse(typeof (IfcBSplineCurveForm), value.EnumVal, true); break; case 3: _closedCurve = value.BooleanVal; break; case 4: _selfIntersect = value.BooleanVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public virtual void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: ((IXbimNoNotifyCollection)_shapeRepresentations).Add((IfcShapeModel) value.EntityVal); break; case 1: _name = value.StringVal; break; case 2: _description = value.StringVal; break; case 3: _productDefinitional = value.BooleanVal; break; case 4: _partOfProductDefinitionShape = (IfcProductDefinitionShape) value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _basisCurve = (IfcCurve) value.EntityVal; break; case 1: _distance = value.RealVal; break; case 2: _selfIntersect = value.BooleanVal; break; case 3: _refDirection = (IfcDirection) value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }