ynput / ayon-core

Apache License 2.0
31 stars 36 forks source link

Houdini: support `get_publish_families` method #485

Closed MustafaJafar closed 4 months ago

MustafaJafar commented 6 months ago

Is there an existing issue for this?

Please describe the feature you have in mind and explain what the current shortcomings are?

Support get_publish_families similar to Maya.

How would you imagine the implementation of the feature?

It's already implemented as part of this PR https://github.com/ynput/ayon-core/pull/295 But, not made in a separate PR.

Are there any labels you wish to add?

Describe alternatives you've considered:

No response

Additional context:

No response

[cuID:AY-5225]

MustafaJafar commented 6 months ago

For reference, I came across this enhancement when drafting a first iteration of model family in Houdini. without this enhancement the code logic in my case will be interlaced.

MustafaJafar commented 6 months ago

adding some links that maybe related to this discussion:

moonyuet commented 6 months ago

Just my two cents. For the long term, it is better to have self.published_families since we would implement the custom node(i.e. the universal node) for publishing. If we have published families as method, it would help us to build that node as it allows users to decide which families to publish their instances. Although I am not quite sure about the roadmap of the universal node, I personally think that the `get_published_families implementation helps to build the structure of the custom node a little bit.

BigRoy commented 4 months ago

This has now been merged with #295 - I'll close it but feel free to re-open and transfer to ayon-houdini if some is still relevant.