I have a script that opens an Expedition PCB design, does something with it, and then closes the tool. The problem is that when an Expedition PCB is undocked (and not docked yet) the script fails and this leaves the Expedition tool running (with the design open) - not good. Here are my questions:
- Is there a function that can be used to find out if the Expedition PCB is undocked? If so, what is it?
- If there isn't a function is there any other way to find out if the PCB is in an undocked state?
- If there isn't a way to find out if an Expedition PCB is undocked or not then how can I close the Dock window that pops up upon open the PCB in Expedition? I know of a method but it's not robust.
I am using EE795. Thanks for help!