algorithmic modeling for Rhino
Hi,
The function [Trim Tree] has an input named Depth, which requires a number, like 3.
I always want to get back to the branch level {A,B}, but the starting point can be {A,B,C} or {A,B,C,D,E}. So the Depth should be resp. 1 or 3.
What function do I need to get the branch level with a number as output, so I can control the Depth of the [Trim Tree] function?
cheers,
Bas
Tags:
Hm, not sure if there's an easier way:
but I usually use [Param Viewer] to get the branch paths as text,
[Split Text] using ; as the separator,
then [List Length] to get the depth of each branch.
Hopefully that's enough to go on (don't have the time to mock it up sorry)
or hopefully there's an easier solution? it's always felt a bit clunky..
Hi, indeed that is a clunky way around. But at least I can continue my work.
I hope that someone else has a better solution or that a function to do this job will be implemented in an update.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson.
Powered by