Re: How do I access another api using Ironpython and VS2017

jpahto@...
 

I tried to look at the steps through IronPython Interactive window:

import clr
clr.AddreferenceToFile("SolidWorks.Interop.sldworks.dll")
import Solidworks.Interop.sldworks as SldWorks

After this:

type(SldWorks)
<type 'namespace#'>

dir(SldWorks)
shows the listing correctly.

Then:

from SldWorks import SldWorks
ImportError: No module named SldWorks

Join users@ironpython.groups.io to automatically receive all group messages.