ApiElementItem#
- class ansys.rocky.app.api_element_item.ApiElementItem(id: str, model_id: str | None = None)#
Base wrapper class for all subjects.
- Variables:
id (unicode) – The id of the subject
_model_id (unicode) – The id of the input reader associated with the subject
Overview#
If there are some children classes to ignore the children should override and return them |
|
|
|
|
|
|
Get the element’s name. |
|
Set the process name |
|
Sets this item as the current item (selected). |
|
Select all the elements in the application that are child of this element with the given names |
Import detail#
from ansys.rocky.app.api_element_item import ApiElementItem
Attribute detail#
- ApiElementItem.id: _typeshed.Incomplete#
- ApiElementItem.subject: _typeshed.Incomplete#
- ApiElementItem.name: _typeshed.Incomplete#
Method detail#
- classmethod ApiElementItem.GetChildrenClassesToIgnore() list[type]#
If there are some children classes to ignore the children should override and return them in this method.
- ApiElementItem.IsValid() bool#
- Returns:
True if the given API object is associated to a valid/existing subject
- ApiElementItem.GetSubject() coilib50.subject.Subject#
- Returns:
The element associated with the element id
- ApiElementItem.GetName() str#
Get the element’s name.
- Returns:
The name of the element in the application