clone

Polyline.clone()[source]

Clone a polyline object.

Returns
pyaedt.modeler.Primitives.Polyline

Polyline object that was created.

References

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

Examples

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