MODO Kits

Replay

Replay is the easiest way to record, run, edit, and export macros and simple scripts in MODO. Automate your workflow, no code required.

Requires MODO 10.2 or later.



About Replay

Replay is a recording, editing, and export tool for macros and simple scripts in MODO.

Automating repetitive tasks in Replay is much quicker than with traditional macros, and we wrote our own command listener system that catches much more detail and nuance than the built-in macro recorder in MODO.

Rewriting the MODO macro recording system from scratch was no small effort. If you see something amiss, don't hesitate to let us know. (adam@mechanicalcolor.com)

Quickstart

  1. Install the kit
  2. Click the R icon in the MODO Modes Bar
  3. Click the record icon at the bottom-right
  4. Perform some actions to record. Note that these should NOT be interactive actions.
  5. At any time during recording, you can stop recording by clicking the record icon again. If you begin recording again, new commands will be inserted after the currently-selected command.
  6. To run the script, click the play button. To test the script step-by-step to find errors and efficiencies, use the step button.
  7. To modify the arguments of a command, either right-click > Edit on the command (or moddle-click on it for short). Note that you can edit like-named arguments from multiple commands at the same time using multi-selections.
  8. To reorder commands in the list, simply drag and drop. If you prefer, you can use the reorder up, down, top, and bottom commands in the right-click menu.
  9. Click Macro > Save. The save dialog defaults to your MODO user Scripts directory.
  10. Once saved, you can run the script using the run menu in the MODO Modes Bar, or using Macro > Map to Key....

Notes

  • You may find that certain commands work best when fired in groups rather than stepwise. For example, firing a tool and setting its attributes should usually be done in one operation, rather than stepping through one-by-one. For these cases, we use 'Blocks'. A block is a group of commands that must always be fired as a single group. The macro recorder will group certain commands into blocks automatically, but sometimes you may want to use right-click > Add to Block to manually create them.
  • As your scripts become more sophisticated, you will find that Python provides much more freedom and flexibility. To export a macro to Python, use Macro > Export...
  • You can also insert commands arbitrarily into a script using the Insert Command popup. This provides an exhaustive list of every command currently available in MODO.
  • Some commands in MODO are flagged as "quiet", meaning they are not recorded by the MODO macro recorder. We respect this convention, but there are certain cases where quiet commands are very useful. For example, you may want for a script to fire a File > Open dialog to open a MODO scene. This is only possible using scene.load, which is not recorded by default. To add it, use the Insert Special popup. This contains a number of useful commands that aren't easy to record or configure manually.