Configuring Local Macros
To configure local macros for a map or process:
1. In the map file or a process file, go to the Configuration tab > Macros section.
The Macro Sets section displays the available project-level macro sets and the Macros section displays the macros for a particular macro set.
2. You can add additional macro sets from the workspace-level macro sets. To do this,
a. Click
.
The Select Macro Sets dialog displays an alphabetically ordered list of all macro sets available for the workspace under Workspace MacroSets.
b. From
Workspace MacroSets, select the required macro set and click
.
The selected macro sets are moved to Selected MacroSets section.
c. Click OK.
The macro sets are displayed in the Macro Sets section.
3. To view all macros from all macro sets that are relevant to the map or process, click <All> in Macro Sets section.
4. To reorder the priority of the macro sets, in the
Macro Sets section, click
to move the macro set up or click
to move the macro set down.
Note: You cannot reorder the <All>, LOCAL, and GLOBAL macro sets.
5. To add a macro to the macro set:
a. Click the macro set for which you want to add a macro and then click
.
A macro with the default name is added.
b. Click within the cells and specify the following information for the macro:
• Macro Name - Type a unique name for the macro. The maximum number of characters is 198 and can include spaces.
• Macro Value - If you want to assign a macro to a file or directory, click
and specify the directory. If you are using the macro to store a text string, then type the value in this field.
• Override - By default, it is No.
6. To edit a macros, change the Macro Name and/or the Macro Value.
7. To delete a macro:
a. Select the macro that you want to delete and click
.
A message asking for confirmation is displayed.
b. Click Yes.
The selected macro(s) are deleted
8. To duplicate a macro:
a. Select the macro that you want to duplicate and click
.
The selected macro is duplicated and appears with a numeral increment by 1 appended to the name.
b. Update the Macro Name and Macro Value.
Last modified date: 12/03/2024