Grasshopper

algorithmic modeling for Rhino

I have this extremely frustrating problem that I can't seem to figure out.

When I try to load a surface into a scripting component (either vb.net or c#) I get the following flag popup:

"Error: Solution exception:Could not load file or assembly '80df5477-e2df-4660-8243-e4ae7082cf71, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Access is denied."

Any ideas as to the cause?

Oh and all that the script does is output the surface directly (ie. "A = x")

Please help!!

Views: 590

Attachments:

Replies to This Discussion

I have tried reinstalling rhino and grasshopper and the problem still stands.

hey, did you figure out the problem? I'm having a similar error with some components

 

In C# specifically you must declare the input type by right clicking and saying it is a surface. Or you can "cast" it that way in the code for example

Surface s = (Surface)x;

I have also had a situation where from time to time my code component becomes corrupt and I simply copy all of the code into a new C# or VB component then viola. Also make sure you GH is current. 

I forgot exactly what caused the problem, but I think it had to do with the microsoft runtimes installed on my computers. Perhaps uninstalling and reinstalling might be a solution.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service