ImportManager Class Reference

The ImportManager JavaScript class. Import animatics in Storyboard project. More...

Public Slots

QScriptValue importAnimatic (String &filename, QScriptValue &inProperties, QScriptValue &inResourcesPaths=QScriptValue())
 Import animatic. More...
 

Detailed Description

The ImportManager JavaScript class. Import animatics in Storyboard project.

// Conform from the xml file
var fileName = "/Users/user/Conform/abc.xml";
var resources = ["/Users/user/Conform/Conform XML"];
var param = {};
param.doPanel = true;
param.doVideoTrack = true;
param.doCaptions = true;
param.doMarkers = true;
param.doAudio = true;
var im = new ImportManager();
var result = im.importAnimatic(fileName, param, resources);
// Display conformation result and log messages
var finalMessage = "Result is " + result.result + " and log contain " + result.log.length + " messages\n";
for (var i = 0; i < result.log.length; ++i)
finalMessage += "\n" + result.log[i];
MessageBox.information(finalMessage);
// Import audio track from a xml file
fileName = "/Users/user/AudioProject/Audio.xml";
im.importAnimatic(fileName, { doAudio: true });

Member Function Documentation

◆ importAnimatic

QScriptValue ImportManager::importAnimatic ( String &  filename,
QScriptValue &  inProperties,
QScriptValue &  inResourcesPaths = QScriptValue() 
)
slot

Import animatic.

Note
Currently importAnimatic cannot be used in batch mode
Parameters
filename- full path name of the xml of aaf document
inProperties-{ properties } // Unspecified Boolean value evaluate to false

doAudio: Boolean true if you want to import audio track

doPanel: Boolean true if you want to import panels
shotMode: String default "DontConformShot", "ConformFromRefTrack" or "ConformFromMarkers"
doCaptions: Boolean true if you want to import captions
doVideoTrack: Boolean true if you want to import video tracks
doMarkers: Boolean true if you want to import marker
doMultilayersSeparate: Boolean true if you want to import multilayer separated
askUserForResources: Boolean true if you want to ask user for resources not found
inResourcesPaths- array of path where we look for ressources