Hi,
I picked several points of a surface to project them on an object below.
Though, the points calculated by “Surface.PointAtParameter” do not fit in the borders of the selected surface above. How can i fix that?
Hi,
I picked several points of a surface to project them on an object below.
Surfaces generated by Revit are trimmed, and not bound to their extents. There are MANY ways to get around this, such as Geometry.ClosestPointTo, drawing and intersecting an isocurve, and more. Each has it’s own pros and cons, so without knowing what you’re actually after I can’t really give a solid path forward.
As you can see, PointAtParameter
is based on the extents of the surface, not the geometry. What you can do instead is to pair the end points and find the displacement you want between the ends and then draw lines between those points to create a reference. Then you just need to break down the lines with the appropriate spacing you’re after.