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