AnsweredAssumed Answered

Running VBScript in Xpedition with multiple open designs

Question asked by lpaulsd on Sep 26, 2017
Latest reply on Sep 27, 2017 by matthias.cosaert

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