Bitness agnostic ReadDWG 🧙

The following source code sample demonstrates how to load DWG/DXF files from a .NET application compiled against AnyCPU. It includes the operating system bitness detection, dynamic loading of the Eyeshot x86 or x64 DLL from a separate folder and the instantiation of the ReadAutodesk class using reflection. 

Previous releases: Eyeshot 9, Eyeshot 8

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

4 comments
  • Any chance of getting v11 source for this?

    I was able to get it to work in x86, but not x64... Can not load 'TD_Mgd_4.3_11.dll', but this file is in the correct path

    "An unhandled exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    Could not load file or assembly 'TD_Mgd_4.3_11.dll' or one of its dependencies. The specified module could not be found.'

     

    Thanks,

    Jas

  • Hi Jas,

    It should be fixed in build 11.0.741. Please try with the latest-nightly-build.

  • Hi Marcello, I tried v11.0.754.0, no to avail. x86 still works, but x64 can not load "TD_Mgd_4.3_11.dll"

  • Hi James,

    You can check the sample in the new article Bitness agnostic ReadDWG for Eyeshot 11.

Please sign in to leave a comment.