get_entitylist_id#

Modeler2D.get_entitylist_id(name: str) int#

Retrieve the ID of an entity list.

Parameters:
namestr

Name of the entity list.

Returns:
int

ID of the entity list.

References

>>> oEditor.GetEntityListIDByName

Examples

>>> from ansys.aedt.core.modeler.cad.primitives import GeometryModeler
>>> obj = GeometryModeler()
>>> obj.get_entitylist_id(name="MyObject")