Hi guys, I´m trying to color my UV points depending on the distance several points. When I tested it with only one point it worked perfectly fine and the UV´s got colored in circular shape around the point. But when I added the rest of the points, the results became strange. As you can see, the red sections go up until the edge of the surface but should also form more circular shapes around the points.
I read all the other topics that deal with this topic and tried all the things but i can´t get it to work properly. I think there is a problem with the lacing and the list structures but I don´t know where.
I hope you can help me getting this to work, because I don´t see the problem.
Cheers
example_heatmap_distances.dyn (58.9 KB)
I think you’re on the right track, but flatten your UV grid of points before doing minimum distance checking to each of them from your attractors and see if that helps. You can always break the values up later using a list.chop node.
See below an output of what to expect for those points i simulated in Grasshopper whilst waiting for Revit to respond again…
Thank you very much for the fast response. I flattened the list, but didn´t get the same result as shown in your grasshopper picture. Do I have to change some of the node settings after the DistanceTo-Node?
Thank you so much for your help! As a novice to Dynamo it would have taken ages to get this right!!
No worries, list levels are tricky but the L1/L2 combo is nearly always the most common one I use. Basically see it as ‘for each of the things in L1, run it against each thing in the L2 list’, then longest lacing helps ensure it runs across each object in L1 (many nodes default to shortest lacing in this mode).