does_object_exists#
- Modeler3D.does_object_exists(assignment: int | str | Object3d) bool#
Check to see if an object exists.
- Parameters:
- assignment
str,intoransys.aedt.core.modeler.cad.object_3d.Object3d Object name or object ID or Object3d to check.
- assignment
- Returns:
- bool
Truewhen successful,Falsewhen failed.
Examples
>>> from ansys.aedt.core.modeler.cad.primitives import GeometryModeler >>> obj = GeometryModeler() >>> obj.does_object_exists(assignment="Box1")