Revit 2026 API
Exporter |
Gets the components of a stair or ramp.
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static IFCLegacyStairOrRamp GetLegacyStairOrRampComponents( ExporterIFC exporterIFC, Element element )
Public Shared Function GetLegacyStairOrRampComponents ( exporterIFC As ExporterIFC, element As Element ) As IFCLegacyStairOrRamp
public: static IFCLegacyStairOrRamp^ GetLegacyStairOrRampComponents( ExporterIFC^ exporterIFC, Element^ element )
static member GetLegacyStairOrRampComponents : exporterIFC : ExporterIFC * element : Element -> IFCLegacyStairOrRamp
Parameters
- exporterIFC ExporterIFC
- The exporter.
- element Element
- The legacy stair or ramp element.
Return Value
IFCLegacyStairOrRampThe LegacyStairOrRamp that contains the components. NULL means the components can't be determined.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also