Implementation of custom frame range collector#1818
Conversation
There was a problem hiding this comment.
Pull request overview
Implements a new Pyblish collector in ayon-core to expose and collect an artist-configurable “custom frame range” for render submissions (migrated from the Deadline addon behavior), storing the selected frame expression into instance data for downstream submission logic.
Changes:
- Added
CollectCustomFrameRangeinstance plugin to provide publish attributes (use_custom_frames,frames) and collect them intoinstance.data. - Added create-context value-change callback to refresh the attribute definitions when relevant values change.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…upport-for-Local-Rendering
| families = [ | ||
| "render", "render.local", "render.farm", "render.frames_farm", | ||
| "prerender", "prerender.farm", "prerender.frames_farm", | ||
| "renderlayer", "imagesequence", "image", | ||
| "vrayscene", "maxrender", | ||
| "arnold_rop", "mantra_rop", | ||
| "karma_rop", "vray_rop", "redshift_rop", | ||
| "renderFarm", "usdrender", "publish.hou", | ||
| "remote_publish_on_farm", | ||
| "deadline" | ||
| ] |
There was a problem hiding this comment.
Ouch, this is painful. We'll need to define a better way to when this plug-in should be relevant.
@iLLiCiTiT let's discuss when we can find some time.
There was a problem hiding this comment.
Yep you're right. This might the breakpoint for me. We will have to tackle the "families" thing.
…upport-for-Local-Rendering
|
Currently shows the attribute at places where it should not be visible. Has to be resolved first (connected to #1818 (comment) ) |
|
So is there any follow-up issue somewhere? I guess it is bigger topic with families and all, but it shouldn't hold up resolution of this? If it works, lets merge it, but create the issue to fix the families? |
…upport-for-Local-Rendering
It works where it is needed, and it breaks places where it should not be used. So yes, it does resolve the issue, but creates multiple other issues. |
…upport-for-Local-Rendering
…upport-for-Local-Rendering
…upport-for-Local-Rendering
Let's describe the new issues it creates - track them by priority and resolve the ones we absolutely must and then get to making tickets for those that can be fixed later please. |
…upport-for-Local-Rendering
…upport-for-Local-Rendering

Changelog Description
This PR is to implement the custom frame range collector with the custom frame range migrated from deadline addon.
Additional info
Tested with ynput/ayon-deadline#252
Testing notes: