Can anybody help?
I am writing a Vb.Net AddIn for Solidworks.
I want to be able to open a part document using a sub routine in a module called "Module1.vb"
How can I make swApp global, in my class module, so it can be used in a sub routine contained in a separate module?
Here is my code that I am using....
Module Module01
Sub OpenPartDocument()
doc = swApp.OpenDoc6(FilePath, swDocumentTypes_e.swDocPART, swOpenDocOptions_e.swOpenDocOptions_Silent, "", Errors, ewarnings)
End Sub
End Module
Many thanks in advance!
Darren