activate_variable_optimization#

Maxwell2d.activate_variable_optimization(name, minimum=None, maximum=None)[source]#

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

Parameters:
namestr

Name of the variable.

minimumoptional

Minimum value for the variable. The default is None.

maximumoptional

Maximum value for the variable. The default is None.

Returns:
bool

True when successful, False when failed.

References

>>> oDesign.ChangeProperty