I'm writing a script that will work with nets, components, pins and other objects to get information about them. When the scripts begins, I would like to deselect everything. How do I "unselect all" in DxDesigner?
This deselects all components in the block in the active view, but doe sgive me something close to the answer I need. I basically need to walk through all of the blocks and call deSelectAll(), because a user may have multiple sheets open with items selected on different sheets (which aren't the active view).
That is correct, ActiveView.Block.DeselectAll only works on the active view.
You can do the following to call deselect in all open schematics:
For Each blk in Application.OpenBlocks(VDDT_SCHEMATIC)
Retrieving data ...