To Work with Macro Insights and Command Macros

Display the Command Macros Palette

Do one of the following to display the Command Macros palette:

View Your Available Macro Insights

Try the Command Macro Associated with a Macro Insight

Before you save a command macro for future use, it can be tried in the current drawing.

Note: It is recommended to save your current drawing or create a new drawing before trying a command macro.
  1. On the Command Macros palette, Insights tab, do one of the following to try a command macro:
    • Click the Ellipsis [...] button and then choose Try.
    • Click on a command macro to expand it and then click Try.
  2. Follow the displayed prompts and provide the expected input to complete the executed commands.

Save a Macro Insight as a Command Macro

Macro insights can be saved as command macros for use later.

Run a Saved Command Macro

A saved command macro can be used in the current drawing.

Edit a Saved Command Macro in the Command Macro Editor

The name, description, image and macro string of a saved command macro can be edited.

  1. On the Command Macros palette, Saved tab, right-click over the command macro to edit and choose Command Macro Editor.
  2. In the Command Macro Editor, do one or more of the following:
    • Edit the name or description of the command macro.
    • Click Specify to choose a new image for the custom macro.
    • Expand the Macro section and edit the macro string of the command macro to change the commands being executed along with the options and values provided to those commands.

      For information on the syntax of a macro string, see About Command Macros.

  3. Click OK to save the changes made.

Edit a Saved Command Macro with the Customize User Interface (CUI) Editor

The name, description, image and macro string of a saved command macro can be edited.

  1. On the Command Macros palette, Saved tab, right-click over the command macro to edit and choose Edit in CUI.
  2. In the Customize User Interface (CUI) Editor, Customize tab, under the Properties pane do one or more of the following:
    • Click in the Name or Description fields to edit the macro's name or description.
    • Click in the Macro field and then click the Ellipsis [...] button to edit the macro string in the Long String Editor dialog box.

      For information on the syntax of a macro string, see About Command Macros.

    • Click in the Small Image or Large Image field, and then click the Ellipsis [...] button to specify a new image for the macro.
  3. Click OK to save the changes made.

Rename or Delete a Saved Command Macro

A saved command macro can be renamed on or removed from the Command Macros palette.

Add a Saved Command Macro to the Ribbon

A saved command macro can be added to the Automation ribbon tab.

Note: Once added to the ribbon tab, you can reposition it on the ribbon or even move it to another ribbon panel.