Macro Functions
Get information about the current macro.
gd.getMacroFileFolder
Returns the directory that contains the macro file as a string.
Input: None
Example:
|
gd.getMacroFileName
Returns the macro name as a string.
Input: None
Example:
|
gd.getCurrentVariableMap
Returns a Python dictionary consisting of the variable names as keys and their corresponding values.
Input: None
Example:
|
gd.setCurrentVariableMap
After inputting a Python dictionary consisting of the variable names as keys and their corresponding values, this command sets a new variable map internally changing the output of the function gd.getVariableMap.
Input:
- Variable map, Python dictionary
Example:
|