I have the points represented by the sphere. i want to move the coordinates down to the lowest plane of the beam or foundation. How to choose the lowest plane?

p1.rvt (7.5 MB)

I have the points represented by the sphere. i want to move the coordinates down to the lowest plane of the beam or foundation. How to choose the lowest plane?

p1.rvt (7.5 MB)

Move the location points a long way down (under the beams), then use a raytrace node (data shapes has one) to find the first point above it using rays pointing in the Z direction (up). You can check the Z difference to that point versus current to move it downward or use element.setlocation it its a point based family.

1 Like

What about the Project Point node in the Z-direction?

1 Like

Hi,

I think it depends how variable your structure is, if there is a risk that people are doing lots of manipulation to the instance, Gavin’s solution is the most robust, however it might not be the fastest…

If the beam / foundation is not being edited, you could just grab their type Height / Thickness and move the point -Z?

You can grab the beam / foundation geometry and intersect the point -Z, as Daan said, but you might find some geometry not being extracted correctly and I’m not sure if it’s faster than Gavin’s method.

Hope that helps,

Mark

1 Like