I’m attempting to add an Asset publish item task, leveraging the out-of-the-box
…where the first is equivalent to
publish_session_geometry.py, and the second is similar except the internals write out an Arnold standin rather than an Alembic, and both have class names that indicate what they do.
I’ve also modified
..\config\env\includes\settings\tk-multi-publish2.yml in the Maya asset step section to trigger the correct hooks, and have added publish template paths for each in
Lastly there are some UI tweaks, screencap for clarification:
The issue I’m running into currently, is that when I test with Validate, both the Publish Alembic and Publish Arnold Standin tasks are showing that they’ll resolve the output file path and naming to be whatever is described in the
asset_arnold_standin template publish definition, which is wrong for alembics.
From testing, it seems that whatever the order of publish plugins is in
tk-multi-publish2.yml that resolve as a child of a given item in the UI (here All Session Geometry), the one that comes last is the publish template that ends up getting used for both (e.g. if I switch it so that A follows B, the publish template for both ends up being the
asset_alembic_cache definition from
templates.yml, which will be wrong for Arnold standins). Also, if I eliminate one or the other, I get the desired results specific to the one that remains.
At this point, advice is appreciated.