clone#

Polyline.clone()[source]#

Clone a polyline object.

Returns:
ansys.aedt.core.modeler.polylines.Polyline

Polyline object that was created.

References

>>> oEditor.Copy
>>> oEditor.Paste

Examples

>>> primitives = self.aedtapp.modeler
>>> P1 = modeler.create_polyline([[0, 1, 2], [0, 2, 3], [2, 1, 4]])
>>> P2 = P1.clone()