-
Notifications
You must be signed in to change notification settings - Fork 28
Integration
Marcus Ottosson edited this page Apr 28, 2015
·
2 revisions
This page will walk you through integrating Pyblish with Autodesk Maya.
Make sure you have installed Pyblish before continuing.
The integration comes in the form of a menu-item called "Publish", located directly under File
.
Once clicked, it will display a Pyblish graphical user interface.
Ensure Pyblish for Maya is on your PYTHONPATH
and run this within Maya.
import pyblish_maya
pyblish_maya.setup()
You can then show the Pyblish graphical user interface by calling show()
.
pyblish_maya.show()
It is recommended that you allow Pyblish to load upon launching Maya. For this, you have two options.
- Add
pyblish_maya.setup()
to youruserSetup.py
- Add the
pyblish_maya/pythonpath
directory to yourPYTHONPATH
(2) You can find your pythonpath
directory here:
pyblish-maya/pyblish_maya/pythonpath
As you will find, this directory contains a userSetup.py
with the exact same command. Maya will run this upon startup, along with any other userSetup.py
available.