activate_variable_statistical#

Mechanical.activate_variable_statistical(variable_name, min_val=None, max_val=None, tolerance=None, probability=None, mean=None)[source]#

Activate statitistical analysis for a variable and optionally set up ranges.

Parameters:
variable_namestr

Name of the variable.

min_valoptional

Minimum value for the variable. The default is None.

max_valoptional

Maximum value for the variable. The default is None.

toleranceoptional

Tolerance value for the variable. The default is None.

probabilityoptional

Probability value for the variable. The default is None.

mean

Mean value for the variable. The default is None.

Returns:
bool

True when successful, False when failed.

References

>>> oDesign.ChangeProperty