From 5eb9a0634dec211eb73a0405007e3e6d2b2a7f88 Mon Sep 17 00:00:00 2001 From: Devin Date: Sat, 28 Dec 2024 12:17:28 +0100 Subject: [PATCH] Update ParametricSetups docstring The step can be any valid expression, including a string. --- src/ansys/aedt/core/modules/design_xploration.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/ansys/aedt/core/modules/design_xploration.py b/src/ansys/aedt/core/modules/design_xploration.py index e3387c9a5fe..5ef05363145 100644 --- a/src/ansys/aedt/core/modules/design_xploration.py +++ b/src/ansys/aedt/core/modules/design_xploration.py @@ -1162,10 +1162,13 @@ def add( Variation Start Point if a variation is defined or Single Value. end_point : float or int, optional Variation End Point. This parameter is optional if a Single Value is defined. - step : float or int - Variation Step or Count depending on variation_type. The default is ``100``. + step : float, 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_type : str, optional - Variation Type. Admitted values are `"LinearCount"`, `"LinearStep"`, `"LogScale"`, `"SingleValue"`. + Variation Type. Permitted values are `"LinearCount"`, `"LinearStep"`, `"LogScale"`, `"SingleValue"`. solution : str, optional Type of the solution. The default is ``None``, in which case the default solution is used.