Hi
Could someone give me an example or pointers for working throughselected components using VB6 API. I'm having difficulty after thefirst run through my code as the selection is lost. (I want to workon each selected component in turn)
I grab the count with swSelMgr.GetSelectedObjectCount then get thefirst 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 comeback to it ?
Thanks
RichSolidworksApi macros
Could someone give me an example or pointers for working throughselected components using VB6 API. I'm having difficulty after thefirst run through my code as the selection is lost. (I want to workon each selected component in turn)
I grab the count with swSelMgr.GetSelectedObjectCount then get thefirst 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 comeback to it ?
Thanks
RichSolidworksApi macros