This page will walk you through integrating Pyblish with Foundry Hiero.
Make sure you have installed Pyblish before continuing.
The integration comes in the form of a menu-item called "Publish", located directly under
Once clicked, it will display a Pyblish graphical user interface.
Ensure Pyblish for Hiero is on your
PYTHONPATH and run this within Hiero.
import pyblish_hiero pyblish_hiero.setup()
You can then show the Pyblish graphical user interface by calling
It is recommended that you allow Pyblish to load upon launching Hiero.
For this to work, add the
pyblish_hiero/hiero_plugin_path directory to your
(2) You can find your
pythonpath directory here:
As you will find, this directory contains sub-directories leading to two python files;
This sets up Pyblish similar to
This ensures that you can access the active project outside of Hiero, via
hiero.activeProject which is added to the
hiero module by this tracker. This is also injected into the context, so you can easily access the active project with
This ensures that you can access the active selection outside of Hiero, via
hiero.selection which is added to the
hiero module by this tracker. This is also injected into the context, so you can easily access the active selection with