IFCExtrusionCalculatorUtils.CalculateExtrusionData(IFCExtrusionCalculatorOptions, GeometryObject)
Method
Description:
Calculates the extrusion data from a Revit geometry object.
Calculates the extrusion data from a Revit geometry object.
Syntax
public static IList<IFCExtrusionData> CalculateExtrusionData(
IFCExtrusionCalculatorOptions extrusionOptions,
GeometryObject geometryObject
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| extrusionOptions | IFCExtrusionCalculatorOptions | The options for extrusion extraction. |
| geometryObject | GeometryObject | The geometry object. |
Return Value
| Type | Description |
|---|---|
| IList | 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 |