Grasshopper

algorithmic modeling for Rhino

Hello again,

So I have a list of vectors that were created by using the "vector b/w 2 pts" component. Some values are null because there is no distance between the two points. In order to have the Vector list comply with an equal numbered list of Points, I need to replace the null items in the Vector list with a Zero value. Is this possible or is there another way around this? Thanks for the help

Ben

Views: 14936

Replies to This Discussion

2009 was a very early stage in the functionality available in GH. that is why a better solution was posted further down in the the thread.

BTW to remove NULL values use Clean Component found in the Sets Tab > Tree Panel.

It works. For the record, here is my screenshot of a functional null-to-0 replacement


without icons.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service