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.
|
|
void | setRespectLockedSoundTracks (bool flag) |
| Set the flag to respect locked sound tracks.
|
|
void | setKeepOriginalScenes (bool flag) |
| Set the flag to keep the original scenes ( when overwriting ) and move them to the end of the project.
|
|
|
bool | loadSourceProject (String &scenePath) |
| Loads the specified storyboard project to be used as a source for insertion.
|
|
StringList | sourceProjectSceneIds () |
| Returns a list of sceneIds from the loaded storyboard project.
|
|
StringList | sourceProjectPanelIds (String &sceneId) |
| Returns a list of panelIds from the specified scene of the loaded storyboard project.
|
|
StringList | sourceProjectCaptionNames () |
| Returns a list of captions from the loaded storyboard project.
|
|
void | setCaptionRemapByName (bool flag) |
| Map source Captions by caption name, on insert. True by default.
|
|
String | sourceProjectSceneName (String &sceneId) |
| Returns the scene Name for a given source project scene Id.
|
|
String | sourceProjectSequenceName (String &sceneId) |
| Returns the sequence Name for a given source project scene Id.
|
|
|
String | insertScene (String &srcSceneId, String &dstSceneId, bool overwrite, bool before) |
| Inserts the specified source scene Id into the project.
|
|
String | insertPanel (String &srcSceneId, String &dstSceneId, bool overwrite, bool before) |
| Inserts the specified source panel Id into the project.
|
|
bool | extractRange (String &newProjectPath, String &newProjectName, String &fromShotId, String &toShotId, bool removeScenes) |
| Extracts the specified range of scenes, and creates a new project with them.
|
|
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 )
{
System.println( 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 );
}