Description
Sets the name of the scene.
The scene name gets set automatically when opening or importing a file, and is the default name that appears in the Save, Save As, and Export dialog boxes.
Functional area
System
Command syntax
Syntax
setSceneName "name" |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
sceneName | string | yes | The name of the scene. |
Flags
None
Return value
void
Examples
// Modify the name of the scene
string $name;
// Append v2 to the current scene name
$name = `getSceneName`;
$name += "_v2";
// Set it
setSceneName $name;