## CreateEnvironment

### Introduced

v4.0

### Description

Creates a new Environment. The environment is nested under the Environments scene node. The newly created environment becomes the default environment.

### Scripting Syntax

    oReturn = CreateEnvironment( [Name] );

### Return Value

Returns the new environment as a SimulationEnvironment.

### Parameters

Parameter | Type | Description
--- | --- | ---
Name | String | Name for the new folder. A suffix is appended to the name if there's already such a folder at the given location.

### See Also

AddContainerToEnvironment AddToContainer RemoveFromContainer CreateGroup RemoveFromGroup RemoveGroup Group