Jump to content

Fernando

Members
  • Content Count

    2
  • Joined

  • Last visited

Everything posted by Fernando

  1. Hi , I'm basing my code on this cascade status changes hook: https://bitbucket.org/ftrack/ftrack-recipes/src/master/python/events/cascade_status_changes/hook/status_listener_hook.py I have the following function that I use to update the status of an "Asset Configuration" entity automatically, it returns the status of the "from entity" of an incoming link: asset_configuration_states = ['IN_PROGRESS', 'NOT_STARTED', 'CANCELLED', 'DONE'] def get_state_name_asset_configuration(link): '''Return the short name of *link*'s state, if valid, otherwise None.''' try: state = link
  2. Hello , Is it possible to link a certain version of a folder to another entity? Currently I have a folder containing some tasks, and I link that folder to my custom entity. I am now creating versions for the task folder, and would like to 'pin' a certain version to my custom entity. When looking at the incoming links in my custom entity, I would like to know which version of the Task Folder was linked. Is this concept possible to do through the API?
×
×
  • Create New...