add#

ParametricSetups.add(variable, start_point, end_point=None, step=100, variation_type='LinearCount', solution=None, name=None)#

Add a basic sensitivity analysis. You can customize all options after the analysis is added.

Parameters:
variablestr

Name of the variable.

start_pointfloat or int

Variation Start Point if a variation is defined or Single Value.

end_pointfloat or int, optional

Variation End Point. This parameter is optional if a Single Value is defined.

stepfloat, int, or str

Variation Step or Count depending on variation_type. The default is 100 for the “LinearCount” variation_type. If a string is passed as an argument, it must be a valid expression in the given context. For example, “0.1mm” may be passed for a step size when the variation_type is “LinearStep”.

variation_typestr, optional

Variation Type. Permitted values are “LinearCount”, “LinearStep”, “LogScale”, “SingleValue”.

solutionstr, optional

Type of the solution. The default is None, in which case the default solution is used.

namestr, optional

Name of the sensitivity analysis. The default is None, in which case a default name is assigned.

Returns:
ansys.aedt.core.modules.design_xploration.SetupParam

Optimization Object.

References

>>> oModule.InsertSetup