Skip to main content

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:
The RAModulePropertyList supports iteration like regular lists and item manipulation via New(), Remove() and Clear(). It contains items of type RAModulePropertyListItem. Methods:

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.