RAParametricVar#
- class ansys.rocky.app.ra_input_variables.RAParametricVar(id: str, model_id: str | None = None)#
Bases:
ansys.rocky.app.api_element_item.ApiElementItemRocky PrePost Scripting wrapper for a parametric input variable.
Parametric input variables can be retrieved via a project’s
RAInputVariables. This wrapper provides methods to rename the variable and change its value. Example usage:input_variables = project.GetInputVariables() variable = input_variables.CreateVariable('a') variable.SetName('b') variable.SetValue(100)
Overview#
Import detail#
from ansys.rocky.app.ra_input_variables import RAParametricVar
Method detail#
- classmethod RAParametricVar.GetWrappedClass()#