public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _treeRootExpression = (IfcCsgSelect) value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _treeRootExpression = (IfcCsgSelect)value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: _treeRootExpression = (IfcCsgSelect)(value.EntityVal); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public IfcCsgSolid(IfcCsgSelect __TreeRootExpression) { this._TreeRootExpression = __TreeRootExpression; }
public IfcCsgSolid(IfcCsgSelect csg) : base(csg.Database) { if (mDatabase.mModelView != ModelView.Ifc4NotAssigned && mDatabase.mModelView != ModelView.If2x3NotAssigned && mDatabase.mModelView != ModelView.Ifc4DesignTransfer) throw new Exception("Invalid Model View for IfcCsgSolid : " + mDatabase.ModelView.ToString()); TreeRootExpression = csg; }