Grasshopper

algorithmic modeling for Rhino

I got an error when I was trying to import a py modulus and a dll file in the same folder. I grab this "matrix" modulus from internet, which utilizes "xalglib" and "alglibnet2.dll". I place them all under the same folder: "C:\Program Files\Rhinoceros 5 (64-bit)\Plug-ins\IronPython\Lib". The ghpython component can access the module when calling "import matrix" but it cannot access the subsequent "xalglib" module; I've also tried "import xalglib", but now cannot access "alglibnet2.dll". Is it possible to grant permission to access the files in the same folder?

Views: 1365

Attachments:

Replies to This Discussion

This seems to be another topic. In the upped part of the thread, the problem was regarding finding the alglibnet2.dll file. This is now an issue within xalglib.py itself. Are you using the same files that David Chen posted above here, but with the mentioned changes? I am asking because xalglib apparently has that attribute here:

Working well now ! I was lost with the changes i tried before.

With the files posted above it's good.

Thanks for your help !

Thanks Giulio. It works as a charm!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service