I am new to the Dynamo world and am trying to create a script to place evenly spaced points across a Revit wall surface to then replace with a Revit element. Any help would be greatly appreciated.
So far I have managed the attached.
How do you get the points to go to the edges and not appear on empty spaces (windows etc.)?
You defined a range from 0.1 to 0.9 and stepping by 0.05. Because you aren’t starting at the base (0) and end (1) parameters you won’t include the edges. Try
0..1..#10 as alternatives.
Filter the points with a Geometry.DoesIntersect node (the points as one geometry, and the original surface as the other) and a List.FilterByBoolMask node (the points as the list, and the result of the Geometry.DoesIntersect node as the mask).