Global object
Overview
When implementing a scripted extension, you can directly access the following global objects:
Global objects are also available in scripts that you run in the Script Editor.
Application related
Object | Type | Description |
---|---|---|
App | IApplication | Application Access Object |
Context | IContext | Access object to execution context |
Errors | IErrors | Access object for error information |
Output | IOutput | Access object to output service |
Search | ISearchManager | Access Object to Search Manager |
Window | IWorkspaceWindow | Application window access object |
Workspace | IWorkspace | Workspace access object |
Workspace related
Object | Type | Description |
---|---|---|
CurrentModel | IModel | Access object to the model selected in the current project |
CurrentProject | IProject | Access object to the current project |
EditorPage | IEditorPage | Access object to the editor page |
ViewDefenitions | IViewDefinitions | Access Objects for View Definition Management |
UI | ICommonUI | Access objects to UI such as basic dialogs |