2 Replies Latest reply on Mar 28, 2012 7:17 PM by nick_hong

    Opening the Application via a script (ex: Expedition)


      I am new to script writing and need help opening expedition.

      Here is the code I use to open expedition.



      Set pcbAppOBJ            = CreateObject ("MGCPCB.ExpeditionPCBApplication")
      Set pcbDesign = pcbAppOBU.OpenDocument(Design)
      Set pcbDoc = pcbDesign.ActiveView


      I get an error complaining about the automation code


      " The automation code of does not contain the licensing call needed for authentication"


      What am I missing?