AnsweredAssumed Answered

Saving Assembly selection set

Question asked by Rich Thompson on Jan 14, 2009
Latest reply on Apr 12, 2017 by Josh Brady
Hi

Could someone give me an example or pointers for working through selected components using VB6 API. I'm having difficulty after the first run through my code as the selection is lost. (I want to work on each selected component in turn)

I grab the count with swSelMgr.GetSelectedObjectCount then get the first selected part with swSelMgr.GetSelectedObjectsComponent2(i) but now I've lost the selection and so cannot just increment (i) anymore.

What is the best method for saving this selection set so I can come back to it ?

Thanks

Rich

Outcomes