Please enable JavaScript to view this site.

GeoDict User Guide 2025

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.

AUTOMA~1_img139

Click OK in the opening dialog.

AUTOM-varymacrofromgeopy-confirmationmacrorecorded

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.

AUTOMA~1_img140

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’.

AUTOMA~1_img141

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.

AUTOMA~1_img142

©2025 created by Math2Market GmbH / Imprint / Privacy Policy