COM Interface: IPCBApplication
This class is responsible for launching and closing the eCADSTAR PCB Editor application. By default, the application is launched in visible mode. It also provides methods for opening, closing and managing PCB designs, and executing a CLUI macro.
Members
Functions
Function | Description |
---|---|
void ExecuteMacro(BSTR macro) | Executes a CLUI macro. |
void OpenDesign(BSTR designPath) | Opens a design. |
void OpenDesignReadOnly(BSTR designFilePath) | Opens the design in read-only mode. This allows multiple users to open the design concurrently. All functions work except Save, so any modifications made in this mode will be lost. |
void ProcessingDialog(VARIANT_BOOL show) | Shows or hides the Scripting in progress dialog.
While it is shown, this dialog prevents interaction with the application. |
void Quit() | Closes the application. |
Properties
Property | Description |
---|---|
IPCBDesign CurrentDesign {get} | Returns the currently-active design. |
IPCBDesigns Designs {get} | Returns a list of the currently-open designs. |
BSTR Version {get} | Gets the current version of the application. |
VARIANT_BOOL Visible {get} {set} | Either checks or sets the application visibility on the desktop. If the application is opened using scripting, then the default visibility setting is "false". |
BSTR InstallDir {get} | Returns the installation directory of the application. |