Vary Parameters from GeoPy
Having transformed a simple macro to a parameter macro it is possible to automate the parameter study in the Python macro. For this, start macro recording as described in the topic macro recording.
Open the Macro Execution Control, check Vary and edit the parameters for the variable study.
Click Record Only to save the GeoDictMacro:VaryPython command without running the macro.

Click OK in the opening dialog.

The recording of the macro is stopped by selecting Macro → End Macro Recording.
In the Macro Execution Control click Refresh, highlight the new Python macro and Click Edit.
The GeoDictMacro:VaryPython command is located after the Variables section. This command can be used for any parameter macro. The file path and the variables have to be given. The entries in the Variables dictionary correspond to the vary parameters dialog box.

For example, the value lists can be changed so that the number of the list entries is the same. Thus, the ‘Variation’ of gd_RandomSeed and gd_FiberDiameter can be changed from ‘VARY’ to ‘gd_SVP’.

After saving the macro click Run in the Macro Execution Control and the resulting folder Variable_Study only contains two result files and two result folders.
