Grasshopper

algorithmic modeling for Rhino

I have a pretty simple question and im having a little bit of trouble. I have vertical lines which are divided by distance, each vertical line is a different length yielding a different amount of division points. I need to retrieve the last or bottom point on each vertical line. 

Usually I just reverse the list and select item 0 but that is not working. I have seen a few posts on the subject but i still cant seem to figure it out. I might need to use the path mapper but i havent used it much.


Views: 489

Attachments:

Replies to This Discussion

Hi Charles,

Firstly, because your flipped lists have the same data structures, when they are merged the lists combine to be two columns in one list so the last item would only show up on every other column.

Secondly, there are null values in your lists and more often than not they are the last item therefore are not showing up.

Pass your lists through a clean component before reversing it. this should do the trick.

Fantastic Danny, my original build is so large I was hesitant to check the data(crashing/freezing the system) for Null values. Thanks for the help!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service