2027 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
public class IFCProductWrapper : IDisposable
Name Return Type Description Inherited From
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(IFCProductWrapper) IFCProductWrapper Establishes a new product manager for elements and objects derived from a parent product manager.
M Create(ExporterIFC, Boolean) IFCProductWrapper Establishes a new baseline product manager for elements and objects.
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 IFCProductWrapper
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M FindExtrusionCreationParameters(IFCAnyHandle) IFCExtrusionCreationData 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() IFCAnyHandle Gets the first element handle added to this wrapper.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P Count int The number of objects associated with the IfcProduct in this wrapper.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.