Gets the end points of a segment.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- segmentId
- Type: SystemInt32
The segment id.
- regionId
- Type: SystemInt32
The region id.
- end1
- Type: Autodesk.Revit.DBUV%
One end point.
- end2
- Type: Autodesk.Revit.DBUV%
The other end point.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.ExceptionsArgumentException | The segment id is invalid. |
Autodesk.Revit.ExceptionsInvalidOperationException | This operation is valid only for vertically compound structures. |