AZ TOOLS

AZ Macros

Do it once while AZ Macros records, then replay it on any selection with one click, from the library, a shelf button or a hotkey.

Early version, lightly tested so far. The recorder already handles menus, hotkeys, manipulators, the Channel Box and Python tools, but it has seen far fewer real scenes than the other AZ Tools. Check a new macro on a copy before you trust it with a shot, and if a step records wrong, please tell me what you did.

The real thing, sped up: record a model, Stop, Test Run rebuilds it, Save to Library, then the same macro as a Python script in the Script Editor.
Recording: the cube becomes a crate in three actions, and each one lands in the step list as it happens.
Replay on a cube, a tall box, a cylinder, a sphere and a flat box: select a shape, press Run. The recorded names became placeholders, so the steps act on whatever is selected now.

What it does

Repetitive Maya work is usually the same few actions on a different object. AZ Macros watches you do them once and turns them into a list of plain, editable steps that you can replay anywhere.

It records what you really do: menu items and option boxes, hotkeys, manipulator drags, Channel Box edits, shelf buttons and your own Python tools. Each action becomes one step you can read, edit, reorder or switch off before you save. The result lives in a library and can go onto the shelf, onto a hotkey or out as a self-contained Python script.

Workflow

  1. Open AZ Macros from the AZ Tools menu and press Record. The viewport shows REC and a step count.
  2. Work as usual. Select what the macro should start from first: the current selection is the input of the macro.
  3. Press Stop. Delete the steps you do not want, reorder them, or edit a command right in the list.
  4. Name the macro and press Save to Library.
  5. Later: select something, pick the macro in the library and press Run. The whole macro is one undo step.
  6. For daily use press Add to Shelf, or drag the macro with the middle mouse button onto a shelf or into the Script Editor.

The window

The AZ Macros window: Record, Pause and Clear, the step list with kind, command and the selection before each step, the name and notes fields, and the library with Run, Load, Rename, Delete, Add to Shelf and To Script Editor.
The recorded crate macro in the editor and in the library.
Record
Record / Stop, Pause to do something that must not be recorded, Clear. Recording again on a filled list asks whether to append or start over. Ctrl+Z while recording drops the last step.
Steps
One row per action: on/off check, kind, command and the selection before it. Up, Down, Delete, Edit..., Inner... and Test Run on the current selection.
Save
Name and notes, Save to Library, Copy as Python.
Library
Saved macros with step count and the selection they need. Run (double-click works too), Load back into the editor, Rename, Delete, Copy Python, Add to Shelf, To Script Editor; middle-mouse drag onto a shelf or into the Script Editor.
Use the current selection
On: the recorded selects at the start are skipped and the macro works on what is selected at playback. Off: they replay with their absolute names.

How it works

Good to know

Availability

AZ Macros is a free product of AZ Tools, in the Utility category: every registered account can install it from the AZ Tools Manager. It is an early version; updates arrive through the Manager like for every other tool.

Get AZ Tools Manager