Adding a Shelf Button
Open the Script Editor in Maya (Window->General Editors->Script Editor)
Create a new Python tab
Insert the following Python commands:
from zurbrigg_advanced_playblast_ui import ZurbriggAdvancedPlayblastUi
ZurbriggAdvancedPlayblastUi.display()
From the Script Editor main menu select File->Save Script to Shelf
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.