Viz Trio Macro Language

The Viz Trio macro language lets you script many of the operations that are normally done in the interface. The general syntax is:

Command [argument]

Info: Some commands take several arguments, such as command scaling that must have the x-, y- and z- axes specified. See the command list for more information.

Macro commands can be used in three ways:

Overriding User Prompts

The macros you create will often use commands that usually trigger a dialog for user input.
For example page:delete 1000 will normally ask for user-confirmation of a deletion.

To override user prompts

You can override pop-up menu behavior with the following modes:

  • gui:set_silent_mode: Controls whether to show dialogues to the user.

  • gui:set_interactive_mode: Controls whether to show dialogues to the user.

This section covers the following topics: