public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: base.IfcParse(propIndex, value); break; case 7: _uAxes.Add((IfcGridAxis)value.EntityVal); break; case 8: _vAxes.Add((IfcGridAxis)value.EntityVal); break; case 9: if (_wAxes == null) { _wAxes = new XbimListUnique <IfcGridAxis>(this); } _wAxes.Add((IfcGridAxis)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 10: _moveFrom = (IfcSpatialStructureElement)value.EntityVal; break; case 11: _moveTo = (IfcSpatialStructureElement)value.EntityVal; break; case 12: if (_punchList == null) //optional so set here { _punchList = new XbimListUnique <IfcText>(this); } _punchList.Add((IfcText)value.StringVal); break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
private IfcFace AddFace(bool orientation, XbimFaceTypeEnum type) { _actualFaceType = type; _face = GetFace(type); _faces.Add_Reversible(_face); //if (_face.Bounds == null) _face.Bounds = new XbimSet<IfcFaceBound>(); IfcFaceBound faceBound = _document.Model.Instances.New<IfcFaceBound>(); _face.Bounds.Add_Reversible(faceBound); faceBound.Orientation = orientation; IfcPolyLoop polyLoop = _document.Model.Instances.New<IfcPolyLoop>(); faceBound.Bound = polyLoop; //if (polyLoop.Polygon == null) polyLoop.Polygon = new XbimListUnique<IfcCartesianPoint>(); _newPoints = polyLoop.Polygon; return _face; }
public IfcCostSchedule() : base() { _TargetUsers = new XbimListUnique<IfcActorSelect>(this); }
public IfcGrid() { _uAxes = new XbimListUnique<IfcGridAxis>(this); _vAxes = new XbimListUnique<IfcGridAxis>(this); }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: base.IfcParse(propIndex, value); break; case 7: _uAxes.Add((IfcGridAxis)value.EntityVal); break; case 8: _vAxes.Add((IfcGridAxis)value.EntityVal); break; case 9: if (_wAxes == null) _wAxes = new XbimListUnique<IfcGridAxis>(this); _wAxes.Add((IfcGridAxis)value.EntityVal); break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public IfcConstraintAggregationRelationship() { _relatedConstraints = new XbimListUnique<IfcConstraint>(this); }
public void AddInnerLoop(bool orientation) { IfcFaceBound faceBound = _document.Model.Instances.New<IfcFaceBound>(); _face.Bounds.Add_Reversible(faceBound); faceBound.Orientation = orientation; IfcPolyLoop polyLoop = _document.Model.Instances.New<IfcPolyLoop>(); faceBound.Bound = polyLoop; //if (polyLoop.Polygon == null) polyLoop.Polygon = new XbimListUnique<IfcCartesianPoint>(); _newPoints = polyLoop.Polygon; }
public IfcVirtualGridIntersection() { _intersectingAxes = new XbimListUnique<IfcGridAxis>(this); _offsetDistances = new XbimList<IfcLengthMeasure>(this); }
public IfcGrid() { _uAxes = new XbimListUnique <IfcGridAxis>(this); _vAxes = new XbimListUnique <IfcGridAxis>(this); }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: base.IfcParse(propIndex, value); break; case 10: _moveFrom = (IfcSpatialStructureElement)value.EntityVal; break; case 11: _moveTo = (IfcSpatialStructureElement)value.EntityVal; break; case 12: if (_punchList == null) //optional so set here { _punchList = new XbimListUnique<IfcText>(this); } _punchList.Add((IfcText)value.StringVal); break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public IfcVirtualGridIntersection() { _intersectingAxes = new XbimListUnique <IfcGridAxis>(this); _offsetDistances = new XbimList <IfcLengthMeasure>(this); }
public IfcPolyLoop() { _polygon = new XbimListUnique <IfcCartesianPoint>(this); }
public IfcCostSchedule() : base() { _TargetUsers = new XbimListUnique <IfcActorSelect>(this); }
public IfcPolyLoop() { _polygon = new XbimListUnique<IfcCartesianPoint>(this); }
public IfcConstraintAggregationRelationship() { _relatedConstraints = new XbimListUnique <IfcConstraint>(this); }