I am trying to make a heatmap, showing the concentration of coordination issues in different areas/rooms on a floor plan. I have read all the previous heat map related topics and attempted to use the solutions/discussions from those, but I’m still hitting a wall with achieving the expected result.
In Dynamo, I got the centroid point for every room on the level and tied those points to the room number. Then I imported an excel file with coordination issues and their locations (room numbers). I have compared the room numbers in the excel list to the model rooms and tied the associated room centroid point to each issue in the list:
Room 101 = Point XYZ
Issues #1 = Room 101
so Issue #1 = Point XYZ and so on
So the expected result would be a heat map where the colors react to the concentration of issue points (areas/rooms with the most number of issues are red, areas with few to no issues are green or blue).
Two issues I’m running into:
- GeometryColor.BySurfaceColors is failing with an error “you must supply a two dimensional list of colors”. My color range node set up appears to match what others in previous topics have had with no errors but the only way to get the node to not fail is to add a list.flatten to my color list, and I’m not sure if flattening the list is causing issue 2.
- Surface color does not appear to be aligned with where the points are concentrated, and the colors are banded rather than the smooth heat map gradients others have made.
What am I doing wrong…








