add_variation#
- SetupParam.add_variation(sweep_variable, start_point, end_point=None, step=100, units=None, variation_type='LinearCount')[source]#
Add a variation to an existing parametric setup.
- Parameters:
- sweep_variable
str
Name of the variable.
- start_point
float
orint
Variation Start Point.
- end_point
float
orint
,optional
Variation End Point. This parameter is optional if a Single Value is defined.
- step
float
orint
,optional
Variation Step or Count depending on variation_type. Default is 100.
- units
str
,optional
Variation units. Default is None.
- variation_type
float
orint
Variation Type. Admitted values are “SingleValue”, `”LinearCount”, “LinearStep”, “DecadeCount”, “OctaveCount”, “ExponentialCount”.
- sweep_variable
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oModule.EditSetup