Using the Scripting Interface
The eCADSTAR Scripting Interface is implemented as a dispatch COM interface. This allows COM access to eCADSTAR from various programming languages. The following topics describe how some of these languages are used with the Scripting Interface. For each language, a link to examples is provided in the relevant Related Topics section. To download scripting examples for C#, C++ and for VBA macros in Excel, click: Scripting Examples. For a specified design, these provide a list of components and their associated parts. For C# and C++ scripting examples, browse to the relevant folder in the downloaded data. For examples of VBA macros in Excel, execute a file in the Excel folder. In the displayed Excel document, click Get Component List to browse to a .pdes or .sdes design file.
Using the Scripting Interface with PowerShell
Using the Scripting Interface with C#
Using the Scripting Interface with C++
Using the Scripting Interface with Visual Basic