You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import clr
clr.AddReference("C:\Program Files\SOLIDWORKS 2019\SOLIDWORKS\SolidWorks.Interop.sldworks.dll")
<System.Reflection.RuntimeAssembly object at 0x00000285677E4900>
from SolidWorks.Interop.sldworks import ISldWorks, SldWorksClass
swApp = ISldWorks(SldWorksClass())
This happening only on python 3.10+
on 3.9 it works well.
update:
The problem is not with the python version, but using VENV.
Outside VENV its working well, but once I setup VENV (any ver) i'm getting the error.