Home Website Youtube GitHub

How to add new pyblish validators to rig builder

Just as the title says. Is there a way to add steps to the validator without changing the existing source code?

The rig’s custom steps don’t have anything to do with pyblish as far as I know.

You can either trigger a pyblish run when the rig build is done - then you’d add the validator to your existing pyblish routine and launch it from python.

You can also imitate the behaviour of a pyblish validator in a post-step and notify the user if something is not correct.

Sorry I have to document the new features :sweat_smile:
You can add validators in the pyblish_plugins folder inside mgear.shifter.rig_builder
It has one as an example :slight_smile: