Document Properties |
The Document type exposes the following members.
| Name | Description | |
|---|---|---|
| App | The application hosting the document. | |
| Cameras | The collection of views in the model. This is a mapping of string names to Camera objects. | |
| Connections | Tag Server connections (if available). | |
| DefaultCamera | The name of the default View when loading or saving (looked up in Cameras). | |
| DocumentEdition | The edition that the document was last saved in. | |
| EventLogPath | Log events to this file, if null don't log events. | |
| EventQueue | The simulation dispatcher for scheduling asynchronous or future actions. | |
| Experiments | The collection of experiments in Sim3D that can be run in batch. | |
| IsExperimentRunning | Is an experiment currently running? | |
| IsResetting | Is the document currently being reset. | |
| Lights | Find all the LightVisual visuals in the Scene. | |
| LoadedHeader | This will only be set for documents that have been loaded from disk | |
| MechanismsManager | ||
| Name | The file name of the document without the extension. | |
| NeedsSave | Whether the current document has been modified and needs saving. | |
| PackageTargetName | ||
| QuickLogicSettings | The settings used when compiling and executing QuickLogic scripts. | |
| Scene | The top level SceneVisual. | |
| TagImporterFileName | The path to the tag server definitions file used when Import is pressed in the TagBrowser. This is equivalent to TagImporterProperties.FileName. | |
| Telegrams | Telegrams for high level emulation. | |
| TextureManager | ||
| Time | The current simulation time. | |
| UdtScripts | UDT Scripts API. | |
| UndoRedoManager | The undo manager used to control undo's and redo's. | |
| UserVars | Temporary place for scripting to place variables, that will survive across resets. These values are *not* to be serialized. | |
| Visual | Top-level visual for the document | |
| Visuals | Use an enumerator to walk the scene tree. |