Method GetSegmentMiddle
GetSegmentMiddle(ElementItemId)
Gets the middle of a segment.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 7, 201, 80)]
ElementItemId GetSegmentMiddle(ElementItemId inSegmentId)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementItemId | inSegmentId | Identifier of the segment to analyze. |
Returns
| Type | Description |
|---|---|
| ElementItemId | Identifier of the vertex defined as being the middle of the segment, or Empty if none. |
Remarks
A middle may only be defined when the segment curve is a line.
This method is available since v7.7.201.80.