Data Standard PowerShell Variables
Use certain objects in PowerShell functions to access Data Standard properties and methods as well as Vault API functionality.
The availability column indicates in which PowerShell files the objects can be used. For example, Vault file dialog means, the PowerShell code is used in the context of a create and edit file dialog.
Variable | Availability | Description |
---|---|---|
Vault menu | Provides methods to create dialogs. | |
Everywhere | Can be used for debuggin. | |
$dsParam | Inventor OnPostCloseDialog function | Provides context information. |
Everywhere | Through this variable, all properties and methods of the WPF window can be accessed. | |
Vault file dialog | Indicates if the context file is a CAD document or not. | |
Vault menu, file dialog | Indicates if running in Vault Office client. | |
Everywhere | Provides access to Vault properties or CAD properties. | |
$UIString[] | Everywhere | Returns localized text strings identified by an ID. See Localization for more information. |
Vault tabs, menu, dialogs; CAD | Vault API WebServiceManager object | |
Vault tabs, dialogs | Vault API IApplication object | |
Vault tabs, menu, dialogs; CAD | Vault API Connection object | |
Vault tabs, menu | Provides useful context information for tab controls and menus. | |
Vault menu, dialogs | Vault API IExplorerUtil object. | |
$vaultUsername | Vault OnLogOn function | Only set when OnLogOn function is called. |