Hello!
I am writing an Addin for EPDM. In my code i am reading information from a file in the Application directory. To get this directory i always used
My.Application.Info.DirectoryPath
This always worked for me in any application but not for the epdm addin. As basic structure i am using the epdm sdk.
The addin is working if i hardcode the path. E.g. path = c:\\myfolder1\\addin\\some.fil
I found out, that the problem starts with using My.Applicatiion.
You can see the error in the attached screenshot. (sorry it is in german)
Can somebody help me please?
SolidworksApi macros