Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Ftrack: Custom attributes can be filled in slate values #3036

Merged
merged 14 commits into from
Apr 12, 2022

Conversation

iLLiCiTiT
Copy link
Member

Brief description

Extended settings for slate values and added ability to get custom data from ftrack into some template fill data.

Description

Slate extraction in nuke now have templates where is possible to fill values for Netflix's Nuke slate node. Right now were added 3 keys: f_submission_note, f_submitting_for and f_vfx_scope_of_work (but they can be extended in future). Each input in settings can be disabled, in that case plugin won't change the value of the key at all. Default settings match previous default values.

Ftrack has new collector where can be collected custom attribute values into custom data which can be used in slate or in burnins. Collector has settings where can be specified custom attributes that are collected. Hierarchical attributes are not handled properly.

Additional info

Added new key customData into instance.data. There already was key custom_burnin_data but it's name is specific for burnins (kept backwards compatibility).

Testing notes:

  1. Create some custom attribute in ftrack (text for Shot entity type)
  2. Choose one entity with the custom attribute and fill it's value
  3. Enable project_settings/nuke/publish/ExtractSlateFrame/f_vfx_scope_of_work in settings
  4. Fill f_vfx_scope_of_work template with {custom[ftrack][<your custom attribute key]}
  5. Publish something to chosen entity from Nuke which would add the slate
  6. The same template value can be used in ExtractBurnin plugin

@ynbot
Copy link
Contributor

ynbot commented Apr 7, 2022

Task linked: OP-2922 Nuke Slate Scope from Ftrack

@iLLiCiTiT iLLiCiTiT self-assigned this Apr 8, 2022
@iLLiCiTiT iLLiCiTiT added the type: enhancement Enhancements to existing functionality label Apr 8, 2022
@64qam
Copy link
Member

64qam commented Apr 12, 2022

The custom attribute is not filling in to the slate

@iLLiCiTiT iLLiCiTiT merged commit cddd08d into develop Apr 12, 2022
@iLLiCiTiT iLLiCiTiT deleted the enhancement/OP-2922_Nuke-Slate-Scope-from-Ftrack branch April 12, 2022 13:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants