/// <summary> /// Processes object placement of the product. /// </summary> /// <param name="ifcProduct">The IfcProduct handle.</param> protected void ProcessObjectPlacement(IFCAnyHandle ifcProduct) { IFCAnyHandle objectPlacement = IFCAnyHandleUtil.GetInstanceAttribute(ifcProduct, "ObjectPlacement"); if (!IFCAnyHandleUtil.IsNullOrHasNoValue(objectPlacement)) { ObjectLocation = IFCLocation.ProcessIFCObjectPlacement(objectPlacement); } }
/// <summary> /// Processes object placement of the product. /// </summary> /// <param name="ifcProduct">The IfcProduct handle.</param> protected void ProcessObjectPlacement(IFCAnyHandle ifcProduct) { IFCAnyHandle objectPlacement = IFCAnyHandleUtil.GetInstanceAttribute(ifcProduct, "ObjectPlacement"); if (!IFCAnyHandleUtil.IsNullOrHasNoValue(objectPlacement)) { ObjectLocation = IFCLocation.ProcessIFCObjectPlacement(objectPlacement); IFCSite.ActiveSiteSetter.CheckObjectPlacementIsRelativeToSite(this, ifcProduct.StepId, objectPlacement.StepId); } }