Why the data tree gets so messy after the linear array component?
Hey mate,
This has nothing todo with Tekla so maybe move it to a different section in the forum.
But the answer lies in the structure of the “Direction” and “Count” input of the array, make sure you have your data trees in order.
Cheers,
Oskar
Hi Oskar.
Yeah might move it to a diferent section, so used to uploading things here hahaha.
And yeah, my “Direction” and “Count” inputs looks good to me.
What do you think?
it’s difficult to guess stuff from the pixels of a screenshot
please post a GH file with internalized data… if you have private stuff or plugins, you could just internalise the 6 inputs with red dots, delete everything but those 2 components and post them:
Yeah I see. I will upload the script, if you want to take a look.
Thanks.
Messy_tree.gh (316.6 KB)
Issue marked in red:
I’m not sure on your source data, as you supplied the entire file when you should of just internalised the curve input… and it’s producing a lot of null value everywhere as I don’t have 90% of the plugins you have… however it looks like your curve input is the source of the problem, or whatever is generating them.
This might not be the right solution, but it shows what your structure maybe should look like…
the origin of the problem is here:
connecting multiple stuff to the very same Parameter can be dangerous, using Merge for multiple inputs is always the best choice, in this case I think you could Entwine data the way you want to be organized, or just Flatten the tree depending on your needs?
in the current state, the “data-tree issue” propagates up to here:
and when with the Linear Array with Count=5 it creates a new branch for each Array (as if input data was grafted):
so, considering the input data tree, all looks correct from a GH point of view
what happens if you flatten those Geometry parameters:
Messy_tree_with_flattened_Geometriy_Parameters.gh (319.6 KB)
does this look better to you?
Richard, thank you for your time.
Yes next time I can just internalize the date, but I wanted to let you guys see more deep into the script to make it easier to understand.
Your solution didn’t worked for me but thanks. I found it useful anyways.
Thanks.
Inno, thanks mate.
Flattering those curves did the job.
Thanks a lot for that extense reply. You make me undertand a bit more the trees and his branches and how they work.