Adds an IfcSpace handle to associate with the IfcProduct in this wrapper.
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public void AddSpace( IFCAnyHandle spaceHandle, IFCLevelInfo pLevelInfo, IFCExtrusionCreationData pParams, bool relateToLevel )
Parameters
- 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 null.
- relateToLevel Boolean
- True to relate the space to the level, false otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |