Method SetSegmentMiddle
SetSegmentMiddle(ElementItemId, ElementItemId)
Sets the middle of a segment in the ModifiedSketch.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 7, 201, 80)]
void SetSegmentMiddle(ElementItemId inSegmentId, ElementItemId inVertexId)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementItemId | inSegmentId | Identifier of the segment to modify. |
| ElementItemId | inVertexId | 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.
StartModification(ElementId) must be called before calling this method.
This method is available since v7.7.201.80.