GetProjectionType Method


Curve By Points Utils Get Projection Type Method

Gets the projection type of the CurveElement.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static CurveProjectionType GetProjectionType(
	CurveElement curveElem
)

Parameters

curveElem CurveElement
The CurveElement.

Return Value

CurveProjectionType
The projection type.
Exceptions
Exception Condition
ArgumentException The input CurveElement is not a CurveByPoints.
ArgumentNullException A non-optional argument was null
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →