Skip to main content

Rocky PrePost scripting 2026 R1

RAModuleCollection

Last update: 23.02.2026

class RAModuleCollection

Rocky PrePost Scripting wrapper for the collection of module in a project.

This wrapper corresponds to the “Modules” item on the project’s data tree. Retrieve the RAModuleCollection from a RAStudy via:

module_collection = study.GetModuleCollection()

Methods:

Name Description
GetEnabledModules() Get the names of the enabled modules in project.
GetModule(module_name) Get a module given its name.
GetModuleNames() Get the names of the modules in project.

GetEnabledModules()

Get the names of the enabled modules in project.

GetModule(module_name: str)

Get a module given its name.

  • Parameters: module_name – The name of the module to get.

GetModuleNames()

Get the names of the modules in project.

Connect with Ansys