imprint#

Modeler3D.imprint(blank_list: str | int | list | Object3d, tool_list: str | int | list | Object3d, keep_originals: bool = True) bool#

Imprint an object list on another object list.

Parameters:
blank_listlist of Object3d or list of int

List of objects to imprint from. The list can be of either ansys.aedt.core.modeler.cad.object_3d.Object3d objects or object IDs.

tool_listlist of Object3d or list of int

List of objects to imprint. The list can be of either Object3d objects or object IDs.

keep_originalsbool, optional

Whether to keep the original objects. The default is True.

Returns:
bool

True when successful, False when failed.

References

>>> oEditor.Imprint

Examples

>>> from ansys.aedt.core.modeler.cad.primitives import GeometryModeler
>>> obj = GeometryModeler()
>>> obj.imprint(blank_list=[1, 2, 3], tool_list=[1, 2, 3])