internal IfcGridPlacement(DatabaseIfc db, IfcGridPlacement p) : base(db, p) { PlacementLocation = db.Factory.Duplicate(p.PlacementLocation) as IfcVirtualGridIntersection; if (p.mPlacementRefDirection != null) { PlacementRefDirection = db.Factory.Duplicate(p.PlacementRefDirection) as IfcGridPlacementDirectionSelect; } }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: _placementLocation = (IfcVirtualGridIntersection)(value.EntityVal); return; case 1: _placementRefDirection = (IfcGridPlacementDirectionSelect)(value.EntityVal); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public IfcGridPlacement(IfcVirtualGridIntersection __PlacementLocation, IfcGridPlacementDirectionSelect __PlacementRefDirection) { this.PlacementLocation = __PlacementLocation; this.PlacementRefDirection = __PlacementRefDirection; }