1 Reply Latest reply on Sep 27, 2017 12:03 AM by matthias.cosaert

    Running VBScript in Xpedition with multiple open designs

    lpaulsd

      When running a script in Xpedition it doesn't always identify the correct open design.

      I can invoke it from the menu in one design and it will try to run on another open design.

      How do I ensure the script runs on the appropriate design?

       

      Currently the script uses this snippet:

       

       

       

          Set pcbApp = GetObject(,"MGCPCB.Application")
         
          Set pcbDesign = pcbApp.ActiveDocument