InsertPolylineSegment

Insets a polyline segment before or after a specified existing segment.

UI Access Draw > Line Segment > [Selection].
Parameters
Name Type Description
<Parameters> Array Structured array.

Array("NAME:Insert Polyline Segment",

"Selections:=" , <string>,

"Segment Indices:=" , <array containing integers>,

"At Start:=" , <boolean>,

"SegmentType:=" , <string "Line", "Arc", "Spline", or "AngularArc">,

<PolylinePointsArray>

<PolylinePointsArray> Array Structured array. See: CreatePolyline.
Return Value None.

Python Syntax

InsertPolylineSegment(<Parameters>)

Python Example

oEditor.InsertPolylineSegment(

["NAME:Insert Polyline Segment",

"Selections:=" , "Polyline1:CreatePolyline:1",

"Segment Indices:=" , [0],

"At Start:=" , True,

"SegmentType:=" , "Line",

["NAME:PolylinePoints",

["NAME:PLPoint",

"X:=" , "1.1mm",

"Y:=" , "0.8mm",

"Z:=" , "0mm"

],

["NAME:PLPoint",

"X:=" , "0.6mm",

"Y:=" , "-0.8mm",

"Z:=" , "0mm"

]

]

])