Gets the coordinate of a segment.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public double GetSegmentCoordinate( int segmentId )
Parameters
- segmentId Int32
- The id of a segment in this CompoundStructure.
Return Value
DoubleThe local coordinates of the specified segment.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The segment id is invalid. |
InvalidOperationException | This operation is valid only for vertically compound structures. |