New to SolidWorks.

I am new to SolidWorks and SolidWorks API but with some experience with AutoCAD and other CAD API's.  I am finding it very difficult to get my head wrapped around SolidWorks API compared to AutoCAD APIs.  The biggest difference I find is in the selection process.

                Within AutoCAD to select an entity or point in the drawing area you can simply call API GetPoint or GetEntities methods from the add-in then AutoCAD takes over control of the selection process by pushing the add-in UI into the back ground. After the user finishes the selection process the selection set is return and code executions continues from that point in a synchronous way.  I am not seeing anything like that in SolidWorks.  After lot of searching the closest I got is using the “PropertyManagerPageSelectionbox” control.  The biggest issue I have with this approach is, I have to implement the selection set manipulation / usage inside the “IPropertyManagerPage2Handler9.OnClose” method instead of separating the code from the UI components.  My add-in is very selection heavy so if I am not mistaken every time I have a selection process I have to use “PropertyManagerPageSelectionbox”.   Also I didn’t find a simple way to get a distance by selecting two points in the document.

Reason for my post is, I am sure someone here had similar experiences like me and I would really like to know their thoughts, suggestions.

Vinay.

SolidworksApi macros