From the course: Dynamo 2.x Essential Training

Unlock the full course today

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

Filtering data

Filtering data

From the course: Dynamo 2.x Essential Training

Start my 1-month free trial

Filtering data

- [Instructor] Two of the most commonly used techniques when you're analyzing data are filtering and sorting. In this video, we'll look at filtering, which is a technique that removes data that doesn't follow a specific rule that we set. We'll cover sorting in the next video. Filtering is a two step process. First we need to identify the criteria, or the rule, that we want to use to narrow down this list of data. Then we need to string together whatever nodes we need to test each item in our data against that rule. The output of that test should be a list of Boolean values, which report true for items that meet the criteria we set, and false for any items that don't. The second step will be to take those Boolean results of the test and use a specific node that splits our original list of data into two lists, one consisting only of data that produced a true outcome, and the other list only of data that produced a false outcome. For this example, let's filter down our nested list of…

Contents