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

Ftrack: Action to transfer values of hierarchical attributes #3284

Merged
merged 6 commits into from
Jun 8, 2022

Conversation

iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented Jun 3, 2022

Brief description

Implemented action that can transfer values of hierarchical attribute to another hierarchical custom attribute if types conversion is possible.

Description

Type conversion is ignored if source type and destination type are same otherwise is supported only int <-> float convertsions or any -> string conversions. There is an option to first delete values on destination custom attribute which may be required to make 1 to 1 copy of values. The action will convert values for all projects on whole ftrack server.

Testing notes:

  1. Run ftrack event server
  2. Run the action on you custom attribute
  • I would recommend to create separated custom attributes to not break others values

@ynbot
Copy link
Contributor

ynbot commented Jun 3, 2022

Task linked: OP-3318 Ftrack fps as string

@iLLiCiTiT iLLiCiTiT self-assigned this Jun 3, 2022
@iLLiCiTiT iLLiCiTiT added type: enhancement Enhancements to existing functionality module: Ftrack labels Jun 3, 2022
@iLLiCiTiT iLLiCiTiT merged commit 343440d into develop Jun 8, 2022
@mkolar mkolar deleted the feature/OP-3318_convert_hierarhical_attrs_values branch June 9, 2022 07:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
module: Ftrack type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants