Revit 2026 API
Curve |
Gets the projection type of the CurveElement.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static CurveProjectionType GetProjectionType( CurveElement curveElem )
Public Shared Function GetProjectionType ( curveElem As CurveElement ) As CurveProjectionType
public: static CurveProjectionType GetProjectionType( CurveElement^ curveElem )
static member GetProjectionType : curveElem : CurveElement -> CurveProjectionType
Parameters
- curveElem CurveElement
- The CurveElement.
Return Value
CurveProjectionTypeThe projection type.
| Exception | Condition |
|---|---|
| ArgumentException | The input CurveElement is not a CurveByPoints. |
| ArgumentNullException | A non-optional argument was null |
See Also