Hello!
I’ve been trying to fold something I’ve been working on into our existing hiero-export system.
In short, the big picture is a sort of nuke script from new task file generator that happens post ingest.
Where you create a new task on shotgrid and it’ll create the nuke script in the correct place and named correctly for the task containing all of the correct nodes from the initial ingest.
The nuke script it creates / copies is a v000 comp script generated at ingest time.
I’ve thought about breaking this down into 2 main tasks.
- A version zero script generator, that runs in Hiero as part of the export process.
- A new task → script generator, triggered by a menu in shotgrid, or via the events daemon that we already have running.
Through our current ingest process we are using the tk-hiero-export to ingest everything to shotgrid and generate the comp scripts. My thinking was I could tap into this export process and at the point Hiero creates the v001 nuke script I’d want to create an identical v000 nuke script.
I’m just having some trouble finding where to generate the v000.
Should it be generated in the sg-nuke-shot-export / FnNukeShotExporter or a script that runs once the export process completes?
If it’s the latter, is there some sort of ‘hiero_post_export.py’ we can take advantage of?
Thanks in advance for any hints / suggestions to help us along the way!