global object
Overview
When implementing scripted extensions, you have direct access to the following global objects:
Global objects are also available in scripts 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 to error information |
Output | IOutput | Output service access object |
Search | ISearchManager | Search Manager access object |
Window | IWorkspaceWindow | Access object to application's window |
Workspace | IWorkspace | Workspace access object |
Workspace related
Object | Type | Description |
---|---|---|
CurrentModel | IModel | Access object to the model selected in the current project |
CurrentProject | IProject | Current Project Access Object |
EditorPage | IEditorPage | Editor page access object |
ViewDefenitions | IViewDefinitions | Access to view definition management |
UI | ICommonUI | Access objects to UI such as basic dialogs |