Data Tree Sorting

unhandled

(bsweiss) #1

How do I generate a tree from this list that only includes the odd branches of the form {0,1} and {0,3}. I would eventually like to use this method on a more complicated tree that has the structure {0,x,0}. In that case, I will be trying to generate a tree with branches {0,1,0}, {0,3,0}, {0,5,0} etc…

grasshopper questions.gh (3.4 KB)
grasshopper questions.3dm (1.9 MB)


#2

Have a look at the attachment.

grasshopper questions_re.gh (10.5 KB)


(bsweiss) #3

Thanks! I’ve got a couple of questions.

First of all, I’m getting an error message on the cull pattern that says “Data conversion failed from text to boolean”

Could you also explain how the culling pattern is operating on the list of paths?


#4

Download the attached def. and see what’s going on with the panel.(You probably didn’t uncheck the “Multiline Data”)


(bsweiss) #5

where is the attachment?


#6

capture-20180607-023341


(bsweiss) #7

Yes, that is the one that I downloaded originally. And Multiline data is unchecked.


#8

grasshopper questions_reV2.gh (16.2 KB)


(bsweiss) #9

Due to my limited knowledge of grasshopper, I don’t quite understand the above. However, I fixed the error message by deleting the panel which had the boolean pattern on it and entering it directly into the cull pattern. Thanks so much for your help!


(qythium) #10

Just taking a guess here, are you using the Mac version of Grasshopper? There’s a sneaky bug that causes multi list panels to behave in that manner, check out these other posts:



(Bweiss) #11

I am indeed on Mac. Thanks for the help!