Grasshopper

algorithmic modeling for Rhino

Hi

I want to select the last branch in a tree, but the number of branches is variable, so I can't use the Tree Branch component, cause I don't know the exact path in advance. How can I do this?

Niels

Views: 2829

Replies to This Discussion

Hi Niels,

Something like this:

?

"List Item" components, index is set to "0".

Thanks djordje, works perfectly!

I require the same thing, however it doesn't grab the last branch, it grabs the last items of each branch

Attachments:

Same as Djordje's solution. You must not have grabbed either the Tree Statistics or Param Viewer component to pull your branch from.

Sorry perhaps I wasn't clear. I need to be able to select the last branch within a tree with the amount of branches being a variable.

Since this thread answers your question, you're still not clear to me.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service