Hi everyone ! Another request to this amazing community.
What I want to do
I need to publish two different kind of scenes:
- Publish scenes
- Template publish scenes
From
- Work scenes
- Template work scenes
In my settings I defined templates for each of these scene types.
Giving me something like this:
Asset_HoudiniScene_Work:
definition: '@Asset_Houdini_WorkArea/@lod_basename.hip'
root_name: 'primary'
Asset_HoudiniSceneTemplate_Publish:
definition: '@Asset_Houdini_PublishArea/@lod_basename.hip'
root_name: 'primary'
Asset_HoudiniSceneTemplate_Work:
definition: '@Asset_Houdini_WorkArea/template/@lod_basename.hip'
root_name: 'primary'
Asset_HoudiniSceneTemplate_Publish:
definition: '@Asset_Houdini_PublishArea/template/@lod_basename.hip'
root_name: 'primary'
I need to be able to understand if a file is a template work file or a work file AND to be able to publish it as a template publish file or a publish file.
Where I’m stuck ?
At the begining, to be honest, I added some UI parts to let my users to choose beetween a template publish file or a publish file, but I can’t find a way to tell the publisher which work template and publish template to use.
In fact I can’t find where the item.properties[“work_template”] and item.properties[“publish_template”] are set…
Any idea ?