AnsweredAssumed Answered

PropertyManager Page Selection Box using "SelectionManager"

Question asked by Casey Balderson on Feb 4, 2019
Latest reply on Apr 16, 2019 by Casey Balderson

So, I am moving forward in automating with APIs using VBA in SolidWorks 2018. but I've ran into a limitation that I cannot seem to overcome.

I need access to the "SelectionManager" shown in the picture that allows intuitive UI selection of a group on entities. I basically need exactly what's shown when you create a lofted surface. I've tried everything I can think of and searched for a week through the forums and API, but cannot seem to find a way to access this feature of SolidWorks. The problem is that our customer models come in as STEP files, which while they are truly round tubes, they import as broken segments. Asking them to change their export method is not an option, so we have to work with what we have. I have a macro with a PMP working with closed edges, but this one is throwing me for a loop. <---see what I did there?

The number of selections and loops can vary based on bends, so multiple selection boxes would be obnoxious. And research is difficult because it seems SolidWorks API uses the term "SelectionManager" for managing inputs, not as a UI interface approach to selecting groups.

So I ask in a final attempt to maintain sanity, is there a way to use this "SelectionManager" tool in selection boxes in the PropertyManager page? Or am I searching for a treasure that doesn't exist?


Casey B.