Closed MustafaJafar closed 5 days ago
Also, we can extend this enhancement to have consistent categorized product-types (families) names which may include representation type.
Identifies/Product types suggestions:
# cameras
io.openpype.creators.houdini.camera.abc
# pointcaches
io.openpype.creators.houdini.pointcache.abc
io.openpype.creators.houdini.pointcache.bgeo
# static meshs
io.openpype.creators.houdini.staticmesh.fbx
# render
io.openpype.creators.houdini.render.mantra
io.openpype.creators.houdini.render.karma
io.openpype.creators.houdini.render.redshift
io.openpype.creators.houdini.render.arnold
io.openpype.creators.houdini.render.vray
io.openpype.creators.houdini.render.usd
# No categories
io.openpype.creators.houdini.imagesequence
io.openpype.creators.houdini.hda
io.openpype.creators.houdini.usd
io.openpype.creators.houdini.vdb
io.openpype.creators.houdini.review
io.openpype.creators.houdini.workfile
io.openpype.creators.houdini.arnold_ass
io.openpype.creators.houdini.rsproxy
Families could be computed as such:
identifier = "io.openpype.creators.houdini.pointcache.abc"
families = identifier.split(".")[4:]
families = identifier.split(".")[4:]
That doesn't sound right? For:
io.openpype.creators.houdini.render.usd
That'd make it:
families = ["render", "usd"]
However, it's not of family usd? It's render.usd
maybe?
Anyway, I don't see why we need to do the identifier splitting - I'd rather just be explicit about returning the families instead of requiring it to be in the identifier, etc. I can imagine there even being cases where an Extra 'batch' creator gets to exist which ends up generating other instances of another type, etc.
Simpler is better.
@BigRoy Do we need this ?
For information, we have get_publish_families
implemented. e.g.
I believe it's still relevant for pointcache specifically in AYON - but I'd say... we're looking to refactor bigger than just this one. It's fine to put it on the backlog and move to ayon-houdini - but at the same time it's not something that I'd "fix" in isolation - rather focus on the overall publishing redesign of AYON x Houdini
Should we close it then ?
Burn it with fire until it becomes an issue again - if we don't end up solving it magically via our other goals. 🔥
Is there an existing issue for this?
Please describe the feature you have in mind and explain what the current shortcomings are?
Deduce families from creator identifier in Houdini.
Quoting BigRoy comment:
How would you imagine the implementation of the feature?
Quoting BigRoy comment:
One could argue it's actually transient_data but the publish system needs it in instance.data["families"] due to how pyblish works.
Are there any labels you wish to add?
Describe alternatives you've considered:
No response
Additional context:
No response
[cuID:OP-7105]