Grasshopper

algorithmic modeling for Rhino

Is it possible? my component turns red and i get a message:

"The type 'EH_box' is not defined"

And my script only has the following content...

Dim box_list As New List(Of EH_box)

What am i not getting?

:)

/Thomas

Views: 159

Replies to This Discussion

I get the same error...

If I use the full namespace it works fine:
Dim box_list As List(Of Grasshopper.Kernel.Types.EH_Box)

should be working without it, though. There is an import statement with that namespace...
Hmm, im gonna try it.

The funny thing is that as long as i don't dim it, i can still use the functions on it. For example the brep-form of the box. So if it input a box into the script component in an input named x, i can still use x.brep or other functions.

But as long as it works with the full namespace, im satisfied.

Thanks

/Thomas

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service