copy#

Modeler2D.copy(assignment: list) list | None#

Copy objects to the clipboard.

Parameters:
assignmentlist

List of objects (IDs or names).

Returns:
list

List of names of the objects copied when successful.

References

>>> oEditor.Copy

Examples

>>> from ansys.aedt.core.modeler.cad.primitives import GeometryModeler
>>> obj = GeometryModeler()
>>> obj.copy(assignment="Box1")