This interface is used to merge/extract another storyboard into the main storyboard.
More...
|
|
void | setMergeSoundClips (bool flag) |
| Set the flag to merge sound clips from the source project. More...
|
|
void | setRespectLockedSoundTracks (bool flag) |
| Set the flag to respect locked sound tracks. More...
|
|
void | setKeepOriginalScenes (bool flag) |
| Set the flag to keep the original scenes ( when overwriting ) and move them to the end of the project. More...
|
|
void | setMergeOnlyTrackChanges (bool flag) |
| Set the flag to merge only panels with track changes ( when overwriting scene or project merge ) More...
|
|
void | setReplaceArtWork (bool flag) |
| Set the flag to replace only art work in panels ( when overwriting scene or project merge ) More...
|
|
void | setMergeOnlyExistingScenes (bool flag) |
| Set the flag to merge the panels only in existing scenes ( when overwriting scene or project merge ) More...
|
|
void | setPreserveMasterCaptions (bool flag) |
| Set the flag to preserve the panel captions ( when project merge ) More...
|
|
void | setPreserveMasterTransform (bool flag) |
| Set the flag to preserve transforms when replace only art work in panels ( when overwriting scene or project merge ) More...
|
|
void | setMergeAdditionalCaptions (bool flag) |
| Set the flag to merge additional captions (when project merge), merge canceled if flag is false and there are new captions fields. More...
|
|
void | setUpdateProjectLink (bool flag) |
| Set the flag to update the project link (when project merge). More...
|
|
|
bool | loadSourceProject (String &scenePath) |
| Loads the specified storyboard project to be used as a source for insertion or project merge. More...
|
|
StringList | sourceProjectSceneIds () |
| Returns a list of sceneIds from the loaded storyboard project. More...
|
|
StringList | sourceProjectPanelIds (String &sceneId) |
| Returns a list of panelIds from the specified scene of the loaded storyboard project. More...
|
|
StringList | sourceProjectCaptionNames () |
| Returns a list of captions from the loaded storyboard project. More...
|
|
void | setCaptionRemapByName (bool flag) |
| Map source Captions by caption name, on insert. True by default. More...
|
|
String | sourceProjectSceneName (String &sceneId) |
| Returns the scene Name for a given source project scene Id. More...
|
|
String | sourceProjectSequenceName (String &sceneId) |
| Returns the sequence Name for a given source project scene Id. More...
|
|
|
String | insertScene (String &srcSceneId, String &dstSceneId, bool overwrite, bool before) |
| Inserts the specified source scene Id into the project. More...
|
|
String | insertPanel (String &srcSceneId, String &dstSceneId, bool overwrite, bool before) |
| Inserts the specified source panel Id into the project. More...
|
|
bool | extractRange (String &newProjectPath, String &newProjectName, String &fromShotId, String &toShotId, bool removeScenes, bool linkExtracted=false) |
| Extracts the specified range of scenes, and creates a new project with them. More...
|
|
bool | mergeProject () |
| Merge the loaded source project into the current main project by matching the panels by panel Ids. More...
|
|
This interface is used to merge/extract another storyboard into the main storyboard.
The following examples are provided:
For scene insertion, the source scene must be loaded using loadSourceProject. Once loaded, the sceneIds of the source may be retrieved. Using this information, the insertScene command can be created.
if ( pM.loadSourceProject("/pathToProject/something.sboard"))
{
var scenes = pM.sourceProjectSceneIds();
for ( var i =0; i < scenes.length; ++i )
{
MessageLog.
trace( scenes[i] +
" : " + pM.sourceProjectSequenceName( scenes[i]) +
":" + pM.sourceProjectSceneName( scenes[i]) );
}
var dstId = SM.sceneInProject( 3 );
var overwrite = false;
var before = false;
pM.insertScene( scenes[0], dstId, overwrite, before );