Jump to content

Michal Mocnak

Members
  • Content Count

    3
  • Joined

  • Last visited

About Michal Mocnak

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Resolution for now is to use legacy API and override application launch like this import os import ftrack import ftrack_connect.application NUKE_STUDIO_APPLICATION_HOOK = os.path.abspath( os.path.join(os.path.dirname(__file__), '../../../application_hooks/nuke_studio_context_template') ) def modify_application_launch(event): """Modify the application environment to include our location plugin.""" environment = event['data']['options']['env'] ftrack_connect.application.appendPath( NUKE_STUDIO_APPLICATION_HOOK, 'FTRACK_EVENT_PLUGIN_PATH',
  2. Hello Guys, i am just wondering if there is any possibility to override those context templates by the new api using hook located on a FTRACK_CONNECT_PLUGIN_PATH instead of rewriting your default context templates delivered in connect package. I just tried something like this but it doesn't work so far. Thank you ! import ftrack_api import ftrack_api.event.base def get_sample_context_template(event): '''Return context templates for Nuke Studio.''' # Define tag regular expressions. return [{ 'name': 'Sample Shot', 'description': ( 'Match name b
×
×
  • Create New...