RAModulePropertyList#
- class ansys.rocky.app.ra_addin_list.RAModulePropertyList#
Bases:
ansys.rocky.app.ra_list.RAList[RAModulePropertyListItem]Rocky PrePost Scripting wrapper for a Module property that is a list of other Modules properties.
The wrapper corresponds to a table of module properties inside the editor of an individual Module or a simulation entity. Such a list can be obtained via the PrePost Scripting wrapper for the object that contains it (that is, a Module or simulation entity), via:
my_module = study.GetElement('My Module') module_list = my_module.GetModuleProperty('List of Items')
The RAModulePropertyList supports iteration like regular lists and item manipulation via
New(),Remove()andClear(). It contains items of typeRAModulePropertyListItem.
Overview#
Import detail#
from ansys.rocky.app.ra_addin_list import RAModulePropertyList