1 of 1 people found this helpful
The help documentation that comes with the Automation tools is the best place to start. It contains most of what you need to know about all of the functionality available to automation tools. It should be included in the standard set of help documentation when you install the software.
The specific things you will want to do are the following:
app = GetObject(,"ViewDraw.Application")
design_name = app.GetProjectData.GetiCDBDesignRootBlock(app.GetActiveDesign())
comps = app.DesignComponents("", design_name, "-1", , False) 'gets all the components in the design
For each comp in comps
'do something with each comp here
Take note that this code is for 7.9.4 and may not be exactly the same in VX. But, if you search for the same functions, like GetObject, GetProjectData, DesignComponents, etc, in the VX help, you will find the exact right syntax for everything.
Best of luck with your endeavors.
Thanks for your help Shannonk.