CurveByPointsUtils.GetProjectionType Method

CurveByPointsUtilsGetProjectionType Method

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

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