PFTrack Documentation Command Line Usage  

Project Commands

Please note: command line control of PFTrack is only available to Enterprise customers.

The commands related to project handling are:

 -create_project /path/to/project/projectName
-load_project /path/to/project/projectName
-set_default_import_path /path/to/media/
-set_default_export_path /path/to/exports/
-set_default_export_name exportName
-set_default_export_format formatName
-set_default_export_format formatName#version
-save_project
-close_project

The -create_project command creates a new project at the named location. For example:

 -create_project C:\Projects\myProject/Volumes/Store/Project/myProject/Volumes/Store/Project/myProject

will create a project folder called myProject stored on disk at C:\Projects\/Volumes/Store/Project//Volumes/Store/Project/

The -load_project command will load an existing project from disk (Note that this command requires the name of the project directory to be given as the argument):

 -load_projectC:\Projects\myProject/Volumes/Store/Project/myProject/Volumes/Store/Project/myProject

When creating or loading projects, the default import and export paths can also be specified on the command line. The following commands are available:

-set_default_import_path: This command adds a default path to the project which will be available in the File Browser allowing the project to be initialised to quickly locate the correct media files on disk.

-set_default_export_path: This command will set the default export path for the project to a specific directory. This is the default path which will be used when creating new Scene Export or Footage Export nodes.

-set_default_export_format: This command can be used to set the default export format for new Scene Export nodes. The formatName must match the name of one of the exports available in the Scene Export node. For example:

 -set_default_export_format "Nuke Python Script"
-set_default_export_format "Autodesk FBX#2010"
-set_default_export_format "Autodesk FBX (Ascii)#2019"

For Autodesk FBX, an additional version number can be added using the # separator to specify which version of FBX to use.

If project parameters have been updated, the -save_project command can be used to ensure the project is saved. The -close_project command can also be used to close the active project and return to the Project Manager.

Finally, if the -exit command is present at the end of the command line arguments, PFTrack will quit after executing all other commands. If the -exit command is not present, PFTrack will continue to run in GUI mode, allowing further interaction with the project.

-----

FBX is a registered trademarks of Autodesk Inc. in the USA and other countries.

Nuke is a trademark of The Foundry Visionmongers Ltd.