2020 Class
Changes 0
C

IFCProductWrapper

Description:
This class is used to ensure that elements and objects are associated with the current IfcProduct.
Remarks:
Each instance makes sure that any elements and products created during its lifetime are properly associated to their parent level (or other containing object). To ensure that the lifetime of the object is correctly managed, you should declare an instance of this class as a part of a 'using' statement in C# or similar construct in other lanuguages.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.IFC.IFCProductWrapper
Name Return Type Description
M AddAnnotation(IFCAnyHandle, IFCLevelInfo, Boolean) None Adds an annotation handle to associate with the IfcProduct in this wrapper.
M AddBuilding(IFCAnyHandle) None Adds an IfcBuilding handle to associate with the IfcProduct in this wrapper.
M AddElement(IFCAnyHandle, IFCLevelInfo, IFCExtrusionCreationData, Boolean) None Adds an IfcElement handle to associate with the IfcProduct in this wrapper.
M AddFinishMaterial(IFCAnyHandle) None Adds a material handle to associate with the IfcProduct in this wrapper.
M AddSite(IFCAnyHandle) None Adds a site (IfcObject) handle to associate with the IfcProduct in this wrapper.
M AddSpace(IFCAnyHandle, IFCLevelInfo, IFCExtrusionCreationData, Boolean) None Adds an IfcSpace handle to associate with the IfcProduct in this wrapper.
M ClearFinishMaterials() None Clear finish materials in this wrapper.
M Create(ExporterIFC, Boolean) IFCProductWrapper Establishes a new baseline product manager for elements and objects.
M Create(IFCProductWrapper) IFCProductWrapper Establishes a new product manager for elements and objects derived from a parent product manager.
M Create(IFCProductWrapper, Boolean) IFCProductWrapper Establishes a new product manager for elements and objects derived from a parent product manager, allowing override of allowRelateToLevel
M Dispose() None Releases all resources used by the
M FindExtrusionCreationParameters(IFCAnyHandle) nullNothingnullptr Obtains the extrusion creation data associated with the given element.
M GetAllObjects() ICollection<IFCAnyHandle> Gets all objects associated with the IfcProduct in this wrapper.
M GetAnElement() The handle. Gets the first element handle added to this wrapper.
Name Return Type Description
P Count int The number of objects associated with the IfcProduct in this wrapper.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.