## XSIProject.ActiveScene

### Description

Returns the currently active Scene object.
Note: Softimage scenes have two names: a valid "scripting name" and the actual filename that it was given when it was saved (including its path). For more information, see Scene object.

### C# Syntax

    // get accessor

    Scene rtn = XSIProject.ActiveScene;

### Examples

#### VBScript Example

    '

    '	This example enumerates the children of the scene root

    '

    set oRoot = ActiveProject.ActiveScene.Root

    set oCone = oRoot.addgeometry( "Cone", "MeshSurface" )

    set oGrid = oRoot.addgeometry( "Grid", "MeshSurface" )

    for each oChild in oRoot.Children

    	logmessage oChild.FullName

    next