split#

Polyline.split(plane, sides='Both')#

Split the active object.

Parameters:
planestr

Coordinate plane of the cut or the Application.PLANE object. Choices for the coordinate plane are "XY", "YZ", and "ZX".

sidesstr, optional

Which side to keep. Options are "Both", "PositiveOnly", and "NegativeOnly". The default is "Both", in which case all objects are kept after the split.

Returns:
list of str

List of split objects.

References

>>> oEditor.Split