I'm a bit confused on how to use the swApp object from inside my userform.
Here is my setup
Public Sub main(swApp As SldWorks) 'swApp is passed initially by the swAddin class
Dim swModel As ModelDoc2
swModel = swApp.ActiveDoc
The problem is once Dialog2 is shown none of the control inside have access to swApp.
What would be the proper way to access the swApp object without closing the form ?