Hello Bharadwaj,
If you put all the actions between the transactionstart and transactionend you don't need to disable it in the editorcontrol.
There is also the option to use epcbDRCModeNoneWithBatchQuery to prompt the user to run DRC on saving the job.
Anyway you can disable that prompt with SuppressTrivialDialogs.
Vbscript code to toggle interactive DRC mode: |
---|
pcbAppObj.Gui.SuppressTrivialDialogs = true PcbDocObj.editorcontrol.InteractiveDRC = NOT(PcbDocObj.editorcontrol.InteractiveDRC) pcbAppObj.Gui.SuppressTrivialDialogs = false |