Hi guys, my first post here so please excuse any misunderstandings from my side!
We’ve started looking at pyblish and how we could standardise our publishing around it. We’ve not yet decided to what extent we want to do it. E.g. we’re debating using pyblish with it’s GUI vs writing something on our own on top of the pyblish-base api.
We’re trying to flesh out some workflow details and we’re considering ways to allow the artists to select which instances they want to publish. I’ve found two threads that are related to this: Instance Selection and Simplifying the GUI
If we would choose to implement this on our own, would we solve this by:
Run the collection step to gather instances.
Present the instances in a UI to let the user select what to publish.
When user clicks “Publish” we run Validation, Extraction and Integrations for the selected instances. If so, how do you prune the instances that the user did not select?
Or is there a better way? Would you recommend us using the pyblish GUI to solve this?
This will present you with a GUI that does as you describe - (1) run collection when running the GUI and (2) present instances, allowing users to toggle instances on/off and (3) provides a button to publish, running the remainder of the publishing plug-ins.
To develop your own GUI, I’d suggesting having a look at the toy example in the Developer Guide…
Yes, absolutely - I got pyblish lite up and running quickly and the source was easy to understand. We will continue developing our workflows and will probably have a lot more questions soon!
git clone https://github.com/pyblish/pyblish-qml
set PYTHONPATH=%CD%/pyblish-qml;%PYTHONPATH%
python -m pyblish_qml --debug
You can use this install with Maya and other hosts like you can with Pyblish Lite, the Python 3 process acts as a server/client architecture, running indepdently in the background serving multiple sessions of Maya, Nuke etc.
The --debug will, as with Pyblish Lite, present you with a few mock items to play around with and get a feel for the GUI.
Some things to notice, the > icon to the side of items are upcoming in Pyblish Lite as well and is used to closer inspect an item, such as messages relative a particular plug-in or instance. And the sorting is more clear, with section labels above critical sections of the main overview.