Grasshopper

algorithmic modeling for Rhino

Object reference not set to an instance of an object. (line: 0)

I'm trying to use a C# component in my current grasshoper definition. It's inputs are a number of planes and a curve. It then intersects the curves with the planes and returns the resulting points. I plan to do more, but this is just a start.

 

My C# component seems to work. The points are displayed, and no errors are sent to the "out" output. However, if I move the input planes the component stops working and returns the error.

 

error: Object reference not set to an instance of an object. (line: 0)

 

Yet if I reconnect the wire to the planes inputs of my C# component that seems to force it to refresh and it successfuly runs again. Here's a video of the behavior

 

http://www.screentoaster.com/watch/stVEJTREVIR1FZRFxZWFpaX1dS/grass...

 

Is this just a bug? Am I doing something wrong? Has anyone seen this before and know of a solution?

 

Views: 850

Replies to This Discussion

Hi Eric,

I had once a similar error in a previous version of Grasshopper.
Which version of Grasshopper are you using? Is it 0.7.57?

- Giulio
_____________________
giulio@mcneel.com
McNeel Europe, Barcelona

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service