Given a reference that represents a part of a bar, this method will return the bar index.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since:
2022
Syntax
C# |
---|
public int GetBarIndexFromReference(
Reference barReference
) |
Visual Basic |
---|
Public Function GetBarIndexFromReference ( _
barReference As Reference _
) As Integer |
Visual C++ |
---|
public:
int GetBarIndexFromReference(
Reference^ barReference
) |
Return Value
The bar index the reference refers to.
Remarks
Exceptions
See Also