Revit 2016 API |
RebarShapeConstraintProjectedSegmentLength..::..GetSegmentEndReferenceType Method |
RebarShapeConstraintProjectedSegmentLength 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: 16.0.0.0 (16.0.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. |