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 import Hfss
>>> app = Hfss()
>>> app.modeler.get_entitylist_id(name="MyObject")