Grasshopper

algorithmic modeling for Rhino

Hi Guys,

 

For one of my projects I really need to create a for loop, so I want to create a VB script. Problem is I always get an error when I double click on the component.

"Could not load file or assembly System.xml.linq"

 

Does anybody have an idea how to fix this?

 

Thanks so much,

 

Pieterbas

Views: 1780

Replies to This Discussion

Hi Pieter,

 

System.Xml.Linq is a namespace new to .NET 3.5

I'm assuming you're still using either 2.0 or 3.0

If you upgrade to 3.5 (don't upgrade to 4.0, Rhino4 cannot handle that version) the problem should go away.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Hi David thanks for your reply

 

Actually I was using Rhino 4.0 SP8, and Grasshopper 0.8

 

I used to have Rhino 4.0 SP7 too, with older Grasshopper, that gave me the same error.

Then I tried newer Rhino... same error

 

I am running it on bootcamp on my Mac... could this be related?

 

I think I will try to reinstall my Rhino tonight and see if that helps,

 

Pieterbas

 

 

Hi Pieter,

 

the problem is not Rhino, it's the .NET framework installed on Windows. To be somewhat more verbose about it; .NET is an API that allows people to run applications and dlls compiled to MSIL language, as opposed to the old Windows API which required dlls and applications to be compiled to Assembly.

 

Rhino uses the old API, Grasshopper uses the new API. There are six versions of .NET to date (1.0, 1.1, 2.0, 3.0, 3.5 & 4.0). Rhino4 requires you have .NET 2.0 installed. Rhino5 requires you have .NET 4.0 installed. Grasshopper requires .NET 3.5 (it didn't used to before, but it does since version 0.8.0005).

 

So, if you want to run Grasshopper on Rhino4, you'll need:

 

Rhino4 SR8

.NET 3.5

 

You can download .NET 3.5 from the microsoft servers.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

 

Thanks alot

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service