1 Reply Latest reply on Aug 30, 2016 8:34 AM by Patrick.Cashman

    Proximity count not getting updated correctly 'Use DRC Window' option in Batch DRC



      We used a small script that runs the batch drc engine in the background and updates the hazard count in View Hazards window. This works perfectly for entire design, but when we use the 'DRC Window' option in the batch drc engine, the DRC run does not seem to be happening properly and the proximity count is not getting updated correctly. Is there anything else that has to be done while dealing with the use of DRC window? Please check and let us know.


      The sample lines that correspond to this are shown below:


      ' These lines are written into Sample.vbs

      Set oDRCEngine = CreateObject("MGCPCBEngines.DRC")

      oDRCEngine.DesignFileName = "G:\Designs\Test.pcb"

      oDRCEngine.UseDRCWindows = True



      ' This line is used to pass the *.vbs to the engine

      Call pcbApp.Gui.ProcessKeyin("xs Sample.vbs")


      Thanks & Regards,