IRockyPluginData gathers custom module data entered manually through the Rocky UI. In order to appear on the Rocky UI, custom modules parameters must be specified in the Python file that defines the components of the module. An IRockyPluginData object is only available during the configuration step in ROCKY_PLUGIN_CONFIGURE.
Members
- get_geometry_data
- get_material_data
- get_material_interaction_data
- get_model
- get_number_geometries
- get_number_material_interactions
- get_number_materials
- get_number_particle_groups
- get_particle_group_data
- has_geometry_data
- has_material_data
- has_material_interaction_data
- has_particle_group_data
Public functions
Function get_model
IRockyPluginDataEntry object that gives access to the values entered through the Rocky UI for all parameters in the model section of the module. These parameters are displayed in the [Data Editors] panel when the module is selected in the data tree.
Return type: IRockyPluginDataEntry
Function has_material_interaction_data
Function get_number_material_interactions
Function get_material_interaction_data
IRockyPluginDataEntry object that gives access to the values entered through the Rocky UI, if they exist, for all parameters defined in the material interactions section of the module.
Parameters:
- index: The index that uniquely identifies the specific material interaction whose data must be retrieved.
- int index
Function has_geometry_data
Function get_number_geometries
Function get_geometry_data
IRockyPluginDataEntry object that gives access to the values entered through the Rocky UI, if they exist, for all parameters associated specifically to the module defined in the geometry (boundaries) section.
Parameters:
- index: The index that uniquely identifies the specific geometry whose data must be retrieved.
- int index
Function has_particle_group_data
Function get_number_particle_groups
Function get_particle_group_data
IRockyPluginDataEntry object that gives access to the values entered through the Rocky UI, if they exist, for all parameters associated specifically to the module defined in the particle group section.
Parameters:
- index: The index that uniquely identifies the specific particle group whose data must be retrieved.
- int index
Function has_material_data
Function get_number_materials
Function get_material_data
IRockyPluginDataEntry object that gives access to the values entered through the Rocky UI, if they exist, for all parameters associated specifically to the module defined in the material section.
Parameters:
- index: The index that uniquely identifies the specific material whose data must be retrieved.
- int index