Is it possible to find max or min elevation in specific area

is there possible way (script) to automate finding max or min elevation in specific area ( like the circles below) on one surface

Hi
Try
create Civil 3D surface from each region
Then you get lower height

thanks hosneyalaa
but i am looking for automation for this whole operation
or script for creating surface from each region for all regions at once

Here’s one way.

MinMax

SurfaceMinMax.dwg (1.2 MB)
SurfaceMinMax.dyn (63.4 KB)

6 Likes

many thanks mzjensen
could you help me run the script because it show some warnings

It’s hard to see exactly what is causing the errors, what do the errors say?

Sorry about that, I was using a new node (PolyCurve.Points) that I think might only be available in the version of Dynamo that ships with Civil 3D 2024.

That node is just getting the points at all the vertices of the polycurves, so it’s easily replicated. A couple options:

  1. Get the sub-curves within the Polycurve (PolyCurve.Curves) and then get the start/end points of those sub-curves. You’ll then need to filter out the duplicates with Point.PruneDuplicates.
  2. There’s a node in Camber to get the vertices directly from the polylines instead of doing the work in Dynamo. It’s called Polyline.Vertices.

https://forum.dynamobim.com/uploads/short-url/6QC9UdwW3vQ34wcCbktZW3E1M8a.dyn