From the course: Grasshopper: Tips, Tricks, and Techniques

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Data tree inputs

Data tree inputs

- [Instructor] Hello and welcome. I have my exercise file open already. In the last video, we looked at list access for custom scripted components. So here I have a custom component that's It's using item access, and here I have a custom component that's using list access. In this video I want to add data tree access. So looking at the input as a data tree and what benefits that provides. So in order to do that, first I'm going to take this, and this is a whole array of B-reps, and I'll move it to surface, deconstruct the B-rep and plug this in. So now I have a bunch of faces, right? And these faces are data tree, so I have something to look at as a data tree. So first I'm going to copy this component down. I'm going to input the faces. And let's go in here and we'll rewrite what's happening. So if activate, and let me first change this input to tree access, and we'll change our type hint to surface. And…

Contents