activate_variable_sensitivity#
- Mechanical.activate_variable_sensitivity(variable_name, min_val=None, max_val=None)[source]#
Activate sensitivity analysis for a variable and optionally set up ranges.
- Parameters:
- variable_name
str
Name of the variable.
- min_val
optional
Minimum value for the variable. The default is
None
.- max_val
optional
Maximum value for the variable. The default is
None
.
- variable_name
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oDesign.ChangeProperty