I create the Dynamo script to create the point on the stair and landing surfaces and then create the line from the point on the Z vector for 2.10 meters. If the line touches any surfaces that are below 2.10 meters (those surfaces are from geometry in Revit itself and Revit links files), the lines and surfaces will intersect and create points on that surface. As you can see in the sketch in Pic. 1.
But in the script, the geometry.intersect doesn’t work and doesn’t return points as I expected. As you can see in Pic. 2.
I’m not sure why it doesn’t work. Anyone have any suggestion ?.
Pic. 1
Pic. 2
I attach the Dynamo file because the graphs are too big; I cannot capture them clearly.
Stair height detection.dyn (114.5 KB)

