GetProfileAndCurveLoopIndexFromReference Method


Given a reference to certain curve or edge, get the index of its profile and curve loop respectively.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)

Syntax

C#
public void GetProfileAndCurveLoopIndexFromReference(
	Reference curveOrEdgeReference,
	ref int profileIndex,
	ref int curveLoopIndex
)
Visual Basic
Public Sub GetProfileAndCurveLoopIndexFromReference ( _
	curveOrEdgeReference As Reference, _
	ByRef profileIndex As Integer, _
	ByRef curveLoopIndex As Integer _
)
Visual C++
public:
void GetProfileAndCurveLoopIndexFromReference(
	Reference^ curveOrEdgeReference, 
	int% profileIndex, 
	int% curveLoopIndex
)

Parameters

curveOrEdgeReference
Type: Autodesk.Revit.DB Reference
Reference to a curve/edge that is part of one profile
profileIndex
Type: System Int32 %
Profile index for output
curveLoopIndex
Type: System Int32 %
Curve loop index for output

See Also