Calculates the extrusion data from a Revit geometry object.
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public static IList<IFCExtrusionData> CalculateExtrusionData( IFCExtrusionCalculatorOptions extrusionOptions, GeometryObject geometryObject )
Parameters
- extrusionOptions IFCExtrusionCalculatorOptions
- The options for extrusion extraction.
- geometryObject GeometryObject
- The geometry object.
Return Value
IList<IFCExtrusionData>A collection of extrusion data calculated for the geometry. If the function fails to calculate one or more valid extrusions, this collection will be empty.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |