Viz Trio User Guide

Version 3.2 | Published June 29, 2021 ©

Macro Language

Use the Viz Trio macro language to script many of the operations that are normally done in the UI. The general syntax is:

Command [argument]

Some commands take several arguments, for instance the command scaling that must have both the x-, y- and z-axis specified. See the command list for reference.

Macro commands can be used in three ways:

When macros are used, it's often desirable to use commands that normally would trigger a dialog for user input such as page:delete 1000, which would normally ask the user for confirmation before deleting. To avoid this, you can set the following modes:

  • gui:set_silent_mode: controls whether to show dialogs to the user.

  • gui:set_interactive_mode: controls whether to show dialogs to the user.

This section covers the following topics: