Get point from intersection by line and mesh (topography) in revit 21+
which is the best, node or python code for this? and how?
I think I would go Python here, but I would need to know more about what you are trying to do. Is it ‘elevation’ on surface at a given XY location?
Yes, I want to obtain the elevation, to be honest, what I did was take it to civil 3D, and correct the elevations of those points with the surface.
Could this be done in Revit?
If you have this topology in c3d . Use BriMohareb_2023 or civilconnection ( can access to c3d com api)package. You can get point elevations at the surface.
This packedge use Dynamo Revit_2023 as plateform to integrating Revit_23, Civil3d_23 , Autocad, sofistik_2018, sofistik_2023 and Add extra geometry nodes to dynamo through API. It help bridge and tunnel engineers to create and Automate automate model and design.
Also makes it possible to create complex bridge and tunnel elements by using Adaptive family
[image]
I’d say the easiest way to achieve this is using ray bounces, assuming that is a topography in Revit. The Data Shapes package has a node for this with a category filter, try it out.
Get the min point of the bounding box of each building, then the ray bounced point and compare their Z values. You can then move each building by a Z vector of that size so it will sit at the topo level. Noting you will only be able to project them to one point of the building this way, so typically this would be ce…
Gavin Crump suggested using ray bounces in this case.