Gets the end points of a segment.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public void GetSegmentEndPoints( int segmentId, int regionId, out UV end1, out UV end2 )
Parameters
- segmentId Int32
- The segment id.
- regionId Int32
- The region id.
- end1 UV%
- One end point.
- end2 UV%
- The other end point.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The segment id is invalid. |
InvalidOperationException | This operation is valid only for vertically compound structures. |