RAOutputData#
- class ansys.rocky.app.ra_output_data.RAOutputData(id: str, model_id: str | None = None)#
Bases:
ansys.rocky.app.api_element_item.ApiElementItemRocky PrePost Scripting wrapper to manipulate the Output Data.
output_data = study.GetOutputData() # To enabled/disabled individual properties: output_data.SetStandardOutputPropertyEnabled('Geometries', 'Area : Cell', enabled=False) # To enabled/disabled all properties under a root parent: output_data.SetStandardOutputPropertyEnabled('Geometries', enabled=False)
Overview#
Retrieve enable state of given “Standard Output Property”. |
|
Set enable state of given “Standard Output Property”. |
|
Retrieve enable state of given “Additional Output Property”. |
|
Set enable state of given “Additional Output Property”. |
|
Retrieve enable state of given “Modules Output Property”. |
|
Set enable state of given “Modules Output Property”. |
|
|
|
Set the current value of “Standard Output Properties”. |
|
|
|
Set the current value of “Modules Output Properties”. |
|
Restore default values of “Output Properties”. |
|
Get the value of “Collect Joint Data”. |
|
Set the value of “Collect Joint Data”. |
|
Set the value of “Collect Joint Data” to True. |
|
Set the value of “Collect Joint Data” to False. |
|
Check if the “Collect Joint Data” is enabled. |
|
Get the value of “Collect Contacts Data”. |
|
Set the value of “Collect Contacts Data”. |
|
Set the value of “Collect Contacts Data” to True. |
|
Set the value of “Collect Contacts Data” to False. |
|
Check if the “Collect Contacts Data” is enabled. |
|
Get the value of “Include Adhesive Contacts”. |
|
Set the value of “Include Adhesive Contacts”. |
|
Set the value of “Include Adhesive Contacts” to True. |
|
Set the value of “Include Adhesive Contacts” to False. |
|
Check if the “Include Adhesive Contacts” is enabled. |
|
Delegates the method to the project sph settings. |
|
Delegate the method to the project sph settings. |
|
Set the value of “Eulerian Solution” to True. |
|
Set the value of “Eulerian Solution” to False. |
|
Check if the “Eulerian Solution” is enabled. |
|
|
|
Import detail#
from ansys.rocky.app.ra_output_data import RAOutputData
Method detail#
- RAOutputData.GetStandardOutputPropertyEnabled(*output_property: str) bool#
Retrieve enable state of given “Standard Output Property”.
- Parameters:
output_property – The output property name.
- RAOutputData.SetStandardOutputPropertyEnabled(*output_property: str, enabled: bool) None#
Set enable state of given “Standard Output Property”.
- Parameters:
output_property – The output property name.
enabled – The enable state of given “Standard Output Property”.
- RAOutputData.GetAdditionalOutputPropertyEnabled(*output_property: str) bool#
Retrieve enable state of given “Additional Output Property”.
- Parameters:
output_property – The output property name.
- RAOutputData.SetAdditionalOutputPropertyEnabled(*output_property: str, enabled: bool) None#
Set enable state of given “Additional Output Property”.
- Parameters:
output_property – The output property name.
enabled – The enable state of given “Additional Output Property”.
- RAOutputData.GetModulesOutputPropertyEnabled(*output_property: str) bool#
Retrieve enable state of given “Modules Output Property”.
- Parameters:
output_property – The output property name.
- RAOutputData.SetModulesOutputPropertyEnabled(*output_property: str, enabled: bool) None#
Set enable state of given “Modules Output Property”.
- Parameters:
output_property – The output property name.
enabled – The enable state of given “Modules Output Property”.
- static RAOutputData.GetAvailableStandardOutputProperties() dict#
- Returns:
The available “Standard Output Properties”.
- static RAOutputData.GetAvailableModulesOutputProperties() dict#
- Returns:
The available “Modules Output Properties”.
- RAOutputData.GetStandardOutputPropertiesData() dict#
- Returns:
The current value of “Standard Output Properties”.
- RAOutputData.SetStandardOutputPropertiesData(data_dict: dict) None#
Set the current value of “Standard Output Properties”.
- Parameters:
data_dict – The data dictionary to set.
- RAOutputData.GetModulesOutputPropertiesData() dict#
- Returns:
The current value of “Modules Output Properties”.
- RAOutputData.SetModulesOutputPropertiesData(data_dict: dict) None#
Set the current value of “Modules Output Properties”.
- Parameters:
data_dict – The data dictionary to set.
- RAOutputData.SetCollectJointData(value: bool) None#
Set the value of “Collect Joint Data”.
- Parameters:
value – The value to set.
- RAOutputData.SetCollectContactsData(value: bool) None#
Set the value of “Collect Contacts Data”.
- Parameters:
value – The value to set.
- RAOutputData.SetIncludeAdhesiveContacts(value: bool) None#
Set the value of “Include Adhesive Contacts”.
- Parameters:
value – The value to set.
- RAOutputData.EnableIncludeAdhesiveContacts() None#
Set the value of “Include Adhesive Contacts” to True.
- RAOutputData.DisableIncludeAdhesiveContacts() None#
Set the value of “Include Adhesive Contacts” to False.
- RAOutputData.IsIncludeAdhesiveContactsEnabled() bool#
Check if the “Include Adhesive Contacts” is enabled.
- RAOutputData.GetSphEulerianSolutionEnabled() bool#
Delegates the method to the project sph settings.