Skip to main content

Advanced Playblast Documentation

Creating Shelf Buttons

Adding a Shelf Button

  1. Open the Script Editor in Maya (Window->General Editors->Script Editor)

  2. Create a new Python tab

  3. Insert the following Python commands:

    from zurbrigg_advanced_playblast_ui import ZurbriggAdvancedPlayblastUi
    
    ZurbriggAdvancedPlayblastUi.display()
  4. From the Script Editor main menu select File->Save Script to Shelf

  5. Enter a name for the shelf button and click OK

Playblasting Without the UI

The following script can be used to launch a playblast directly through a shelf button

from zurbrigg_advanced_playblast_ui import ZurbriggAdvancedPlayblastUi

if ZurbriggAdvancedPlayblastUi.ui_instance:
    ZurbriggAdvancedPlayblastUi.ui_instance.playblast_wdg.do_playblast()
else:
    ZurbriggAdvancedPlayblastUi.display()

Note: The UI will be displayed on first use in a new Maya session to confirm settings.