Does anyone have example of script which can output data in one single operation ? i.e. we would like to automate ODB++ output and IDF output in one single command .
Unfortunately, I can't offer you a sample script directly, but I can provide some guidance for constructing one. First, don't use MGCPCBEngines. Instead, create or edit the Config folder files that load the dialog boxes for these two functions. For ODB++, they are named ODBSetup.ocf and ODBSetup.eocf, and for IDF, they are named Default.idf and IDFSettings.txt. Each pair of files contain the same information, except the last file in each case has a few extra lines related to saved schemes. By controlling the dialog box content through these external files, you only need to invoke the dialogs and execute them, which is the next step.
For ODB++, that code is as follows:
Call Gui.ProcessCommand("Output->ODB++",True)Do Set Box = Gui.FindDialog("ODB++ Output")Loop While Box Is NothingBox.FindButton("OK").Click
Similarly, for IDF, that code is as follows:
Call Gui.ProcessCommand("File->Export->IDF",True)Do Set Box = Gui.FindDialog("Export IDF")Loop While Box Is NothingBox.FindButton("OK").Click
Hopefully, this info can get you started in the right direction.
You can use Output-->Manufacturing Output command to fastly generate set of output data
Retrieving data ...