Writing and Running a Macro 

If you perform a task repeatedly, you can take advantage of a macro to automate it. A macro is a series of functions, written in a scripting language, that you group in a single command to perform the requested task automatically.

Which Macros exist for DMU Navigator ?

Macros have been written for the following:

  • Group macro - creating a group from the currently selected products
  • Annotation macro - creating an annotation
  • Copy / Paste macro - cutting and pasting products or copying and pasting products in the Product Structure under a selected product

 

How to run a Macro ?

For detailed information on running macros, see the DMU Infrastructure User's Guide, Recording, Running and Editing Macros:

 

How to write a Macro ?

For detailed information on writing macros, you can access the Automation Documentation by clicking the icon at the top of the documentation homepage and selecting the DMU product for which you want to explore macros. You will find a list of available macros by product, as well as examples of code for each macro that you can use as is or modify as best fits your needs.