Revit 2025.3 API
Compound |
Gets the end points of a segment.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void GetSegmentEndPoints( int segmentId, int regionId, out UV end1, out UV end2 )
Public Sub GetSegmentEndPoints ( segmentId As Integer, regionId As Integer, <OutAttribute> ByRef end1 As UV, <OutAttribute> ByRef end2 As UV )
public: void GetSegmentEndPoints( int segmentId, int regionId, [OutAttribute] UV^% end1, [OutAttribute] UV^% end2 )
member GetSegmentEndPoints : segmentId : int * regionId : int * end1 : UV byref * end2 : UV byref -> unit
Parameters
| Exception | Condition |
|---|---|
| ArgumentException | The segment id is invalid. |
| InvalidOperationException | This operation is valid only for vertically compound structures. |
See Also