how to determine all variant names in my current Expedition PCB Layout project by vbscript?

Discussion created by juergen.hinterleitner on Apr 9, 2014
Latest reply on May 2, 2014 by Patrick.Cashman

I am not able to figure out, how to determine with a tiny vbscript, the variant names from my current Pcb Layout project.


The only what I found in help is a "Document.Boards" Collection, and each of that Board should has a property "VariantNames".


But I guess this collection only works in FablinkXE? because in PCB Layout the command: "pcbDoc.Boards" don't return any object!


Is there a simple way to get all variant names from my project, on the level of Pcb Layout? ("MGCPCB.ExpeditionPCBApplication")