EnvironmentManager.SetCurrentEnvironment Method
Parent Object: EnvironmentManagerDescription
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.
Syntax
EnvironmentManager.SetCurrentEnvironment( Environment As Environment, [EditObjectId] As String )Parameters
Name | Type | Description |
Environment | Environment | Environment that the document should be displayed in. |
EditObjectId | String | This is an optional argument whose default value is "". |
Samples
Name | Description |
Play back a simulation | This sample plays back an existing dynamic simulation. |