Grasshopper

algorithmic modeling for Rhino

TREE BRANCH error : Data conversion failed from Numbers to Lines

hello everyone,

I have divided a list of lines into 6 sublists organize by length.

Each list contents 730 lines.

I have used "partition list  after a "Sort list" then "tree branch" to retrieve a specific branch from the original list of line.

My question is how do I retieve the 6 list of lines geometry from the tree branch.

If I use a line component after a tree branch  it says : error :

Data conversion failed from Numbers to Lines

Can someone help me ?

Thank you very much for your time.

Have a nice day.

Marc

Views: 3171

Attachments:

Replies to This Discussion

Sort list keys (K) need to be sortable data. A line by itself is not readily sortable. GH will convert the line to a number to make it sortable. This will be the lines length. The sorted lengths (K output) will fail to convert back to lines.

The A input will be sorted in the same way as the keys but without any data conversion. If you want to sort the lines by length, you need to input them to K and A and use the A output.

Thank you very much.

Indeed, it does work now.

Nice, quick and clean. Just the way I love it.

Have a nice week end

Maybe you will be anle to answer that ?

http://www.grasshopper3d.com/forum/topics/list-of-points-error-flat...

thank a lot.

Marc.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service