insert_segment#
- Object3d.insert_segment(points, segment=None)#
Add a segment to an existing polyline.
- Parameters:
- points
List List of positions of the points that define the segment to insert. Either the starting point or ending point of the segment list must match one of the vertices of the existing polyline.
- segment
stroransys.aedt.core.modeler.cad.primitives.PolylineSegment,optional Definition of the segment to insert. For the types
"Line"and"Arc", use their string values"Line"and"Arc". For the types"AngularArc"and"Spline", use theansys.aedt.core.modeler.cad.primitives.PolylineSegmentobject to define the segment precisely. The default isNone.
- points
- Returns:
- bool
Truewhen successful,Falsewhen failed.
References
>>> oEditor.InsertPolylineSegment