Skip to main content

Rocky PrePost scripting 2026 R1

RAModulePropertyList

Last update: 23.02.2026

class RAModulePropertyList

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() and Clear(). It contains items of type RAModulePropertyListItem.

Methods:

Name Description
Clear() Remove all items from the list.
New() Add a new item.
Remove(item) Remove an item from the list.

Clear()

Remove all items from the list.

New()

Add a new item. Returns the newly created item.

Remove(item: T)

Remove an item from the list.

Connect with Ansys