Creates an ExtrusionAnalyzer and computes and stores the Solid's shadow.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.3.0.0 (26.3.0.0)
Syntax
C#
public static ExtrusionAnalyzer Create( Solid solidGeometry, Plane plane, XYZ direction )
Parameters
- solidGeometry Solid
- The Solid to analyze.
- plane Plane
- The plane to use for the base plane for the extrusion.
- direction XYZ
- The direction to use for the calculation for the extrusion. The direction must be transverse to the base plane.
Return Value
ExtrusionAnalyzerThe newly created ExtrusionAnalyzer object.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The input direction must be transverse to the input plane. |
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | A failure occurred in creating the ExtrusionAnalyzer or computing the Solid's shadow. |
