IFCProductWrapper.AddSpace
Method
Description:
Adds an IfcSpace handle to associate with the IfcProduct in this wrapper.
Adds an IfcSpace handle to associate with the IfcProduct in this wrapper.
Remarks:
If the IFCLevelInfo is not provided, and relateToLevel to true, the handle will be associated to the building handle.
If the IFCLevelInfo is not provided, and relateToLevel to true, the handle will be associated to the building handle.
Syntax
public void AddSpace(
IFCAnyHandle spaceHandle,
IFCLevelInfo pLevelInfo,
IFCExtrusionCreationData pParams,
bool relateToLevel
)
Parameters
Parameter | Type | Description |
---|---|---|
spaceHandle | IFCAnyHandle | The IfcSpace handle. |
pLevelInfo | IFCLevelInfo | Information on the associated level. |
pParams | IFCExtrusionCreationData | The extrusion creation data associated with the given space. Optional, can be <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LST8375EB22_1"></span></span>. |
relateToLevel | Boolean | True to relate the space to the level, false otherwise. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |