Skip to content

ExporterIFC.RegisterSpaceBoundingElementHandle

Public Class

Stores a handle representing a space bounding element to the ExporterIFC’s internal cache.

Namespace: Autodesk.Revit.DB.IFC

Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public void RegisterSpaceBoundingElementHandle(
IFCAnyHandle instanceHandle,
ElementId id,
ElementId levelId
)

Parameters

instanceHandle IFCAnyHandle

The handle to the space bounding element.

id ElementId

The Revit element id associated to this handle.

levelId ElementId

The level id assigned to the space bounding object.

Exceptions

Exception

Condition


ArgumentNullException

A non-optional argument was null


Remarks

The cache of space bounding elements will be used during completion of export to create relationship objects such as IfcRelSpaceBoundary and IfcRelConnectsPathElements. The types of Revit elements accepted by this function are:

  • Walls
  • Curtain walls
  • Roofs
  • Floors
  • Doors
  • Windows