| Revit 2023 API |
| RebarShapeConstraintSegmentLength..::..GetSegmentEndReferenceType Method |
| RebarShapeConstraintSegmentLength Class See Also |
Choice of two possibilities for the start and end references of the length constraint.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since:
2012
Syntax
| C# |
|---|
public RebarShapeSegmentEndReferenceType GetSegmentEndReferenceType( int index ) |
| Visual Basic |
|---|
Public Function GetSegmentEndReferenceType ( _ index As Integer _ ) As RebarShapeSegmentEndReferenceType |
| Visual C++ |
|---|
public: RebarShapeSegmentEndReferenceType GetSegmentEndReferenceType( int index ) |
Parameters
- index
- Type: System..::..Int32
Which reference on the constraint. Either 0 or 1.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | index is not 0 or 1. |