From the course: Learning Grasshopper

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

How to detect and correct errors in your Grasshopper definitions

How to detect and correct errors in your Grasshopper definitions

From the course: Learning Grasshopper

Start my 1-month free trial

How to detect and correct errors in your Grasshopper definitions

- Let's talk about what happens when something goes wrong in your Grasshopper file. Grasshopper uses a color coding system to give feedback about possible errors and warnings and a definition. There are three possible colors states for components and parameters in Grasshopper. Gray signifies that something is correct with no warnings or errors. In our example here, the number parameter is defined locally as 25.2. And that's all it needs to function properly. Likewise, each of these point components are set with a locally defined inputs. And those in turn, pass their outputs onto the line component, which is expecting two points as input. You'll notice that the points and the number component are all dark gray, whereas the line component is light gray. And that just signifies the difference between whether we're telling those components to preview in our Rhino window or not. Now components highlighted in orange…

Contents