COM Interface: ILEApplication

This class provides access to the following functions and properties in eCADSTAR Library Editor.

Members

Functions

Function Description
void ExecuteMacro(BSTR macro) Executes a CLUI macro.
void NewLibrary(BSTR newLibraryPath, ILibrary** library) Creates a new empty library. The path specified in newLibraryPath must be an empty directory.
void OpenLibrary(BSTR libraryPath) Opens a library.
void ProcessingDialog(VARIANT_BOOL show) Shows or hides the Scripting in progress dialog. When displayed, this prevents any interaction with the application.
  • Specify true for show set to display the dialog.
  • Specify false for show set to hide the dialog.
void Quit() Closes the application.

Properties

Property Description
ILibrary Library {get} Returns the currently-open library.
BSTR Version {get} Returns the current version of the application.
VARIANT_BOOL Visible {get} {set} Checks the visibility of the application on the desktop. Visibility defaults to False when the application is started using scripting.
BSTR InstallDir {get} Returns the installation directory of the application.