AnsweredAssumed Answered

Opening the Application via a script (ex: Expedition)

Question asked by rharrison on Mar 28, 2012
Latest reply on Mar 28, 2012 by nick_hong

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
pcbAppOBJ.LockServer

 

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?

 

 

 

Outcomes