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

    15e6ad19-6d34-8b46-0100-014f0327e866

      Hello,

      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

      oDRCEngine.Go

       

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

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

       

      Thanks & Regards,

      Bharadwaj