id#

property Object3d.id: int | None#

ID of the object.

Returns:
int or None

ID of the object when successful, None otherwise.

References

>>> oEditor.GetObjectIDByName

Examples

>>> from ansys.aedt.core.modeler.cad.object_3d import Object3d
>>> obj = Object3d()
>>> obj.id