Skip to main content

Creating a new extension

In this section, you'll learn how to create a simple Reference viewer extension in Maya.

It will be on the form a dialog that will be shown when the user clicks a menu reference viewer menu item within the DCC.

Get more detailed information about available extensions and how they work in the extensions documentation section.

Prerequisites

  • Install Connect v3+/v24+
  • Download and install the Maya framework base integration.
  • Create a new folder for your extension. This folder will contain all the files for your extension:
  cd ~/Documents/ftrack
mkdir -p extensions/ftrack_example

Developing

  1. Create a folder for each needed extension:
  cd ~/Documents/ftrack/extensions/connect
mkdir launch

cd ~/Documents/ftrack/extensions/ftrack_example
mkdir dialogs
mkdir plugins
mkdir tool-configs
mkdir widgets
  1. Follow the instructions on how to create each extension type:
  1. Setup the FTRACK_CONNECT_EXTENSIONS_PATH environment variable to point to the extensions folder:
  export FTRACK_CONNECT_EXTENSIONS_PATH=~/Documents/ftrack/extensions/connect
  1. Start Connect and launch a framework integration, your extension should now be visible under the ftrack menu.

Overview