For starters replace the line: dbids = axlGetSelSet(axlSelect(?prompt "Select components"))
with: axlSelect(?prompt "Select components") dbids = axlGetSelSet() axlClearSelSet()
Dave Elder, Tait Communications
In reply to eDave:
In reply to pcbnagaraj:
Instead of using axlSelect, try using this:
axlSetFindFilter(depends on your selection)
axlSingleSelectPoint(axlLastPick(nil) for single selection or axlAddSelectPoint(axlLastPick(nil) if you want to group
dbidSelected = axlGetSelSet().
based on my experience, this code is easier to control instead of axlSelect.
In reply to D912349:
The axlSelect will allow me to do window selection, tempgroup and is same as in Move/copy comand.
axlEnterPoint will select comonents at single point.
Wondering is there no way to exit axlSelect() in single command or its the limitation with User pop-up defined.
Thanks Dave.. Let me review the code and axlSelect logic used.