Grasshopper

algorithmic modeling for Rhino

Hello, I'm developing a plugin for grasshopper, which should get structural information from rhino to dlubals rstab. Before a few days I got some serious problems when I was trying to run the plugin (I got a access violation exception). But after I changed the assembly of rstab from MSIL to only 64 it worked great. I opened up my ide and get the message that there is a difference between my own assembly and the assembly of rstab, so I changed it too and in my solution I got the same message so I changed all to 64 release built. But now grasshopper didn't even notice my plugin or tells me that my assembly couldn't be found, but its inside the release folder of my built. So, does anybody knows what to do, or what assembly should be used? Or does anybody solved the problem in another way, without changing the assembly. Another question: Are there problems on grasshopper with spaces and underscores in the filenames? Thanks in advance

Views: 446

Replies to This Discussion

So I found that Grasshopper only accepts Any-CPU-Builts. There must be some unmanged code in the Assembly of DLubals RStab, cause they are calling Marshal and Interop. The AccessViolationException were thrown when I called a memberfunction that has a string as an argument. And I found out that a string is a non-blitable Type, so I think in this Memberfunction must be some unmanaged code. But I dont know how to handle this.

Ok everything works, no unmanaged code or something else. I dont know why but it works as it should. With the x64 assembly of dlubal and all builts as a x64 solution. Im using a gh-linkfile maybe it was on a wrong or old filepath or the underscores were the problem ive changed them too, but it didnt worked directly after that, so i cant say if it was the problem and i dont want try again to find that out.

Hi Soenke,

have a look here...

http://www.food4rhino.com/project/rhinorstab?ufh#comment-8151

...Dimitry is developing a plugin for RSTAB already.

cheers

Sebastian

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service