---
title: "setSceneName"
canonical: "https://help.vicon.com/space/ShogunPost121/1253738394/setSceneName"
format: markdown
---
# 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

> Macro (scroll-tablelayout)

|  |
| --- |
| `setSceneName "name"` |

### Arguments

| Name | Type | Required | Comments |
| --- | --- | --- | --- |
| `sceneName` | string | yes | The name of the scene. |

### Flags

None

## Return value

void

> Macro (scroll-pagebreak)

## Examples

```plaintext
// Modify the name of the scene
string $name;
 
// Append v2 to the current scene name
$name = `getSceneName`;
$name += "_v2";
 
// Set it 
setSceneName $name;
```

# Additional information

## Related commands

- [getSceneName](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738050)