Method that sets the current Environment for this document. This is the environment that the document is currently displayed in. The change is not persisted with the document; i.e. the next time the document is opened, it will show up in its base environment or the override environment if specified.
| Name | Type | Description |
| Environment | Environment | Environment that the document should be displayed in. |
| EditObjectId | String | This is an optional argument whose default value is "". |
| Name | Description |
| Play back a simulation | This sample plays back an existing dynamic simulation. |