I need to collect points from the surface

I need to rectify a surface to meet certain north-south slope requirements so that it does not exceed the maximum. In my Dynamo routine, I have already managed to create these correction points. Now, I need to take the original points of the surface, add the corrected ones, and create the new embankment surface. I am having trouble retrieving all the points from the original surface.

Hi @igor.carvalho, can you share more information, Dynamo graph, dwg, etc.?

modelo de analise.dwg (1.9 MB)
Criterio A teste.dyn (122.0 KB)

The routine is in testing, so it’s still a mess. Initially, the routine recognizes which point is outside a condition (slope exceeds the maximum project value) and creates a point to correct it. However, I have to run it several times because when I correct a point above, it messes up the point below, and vice versa. So, I have to keep creating surfaces several times. I thought about creating a surface by points, but I’m not able to retrieve the points from the reference surface.

Is there any reason why you wouldn’t use a dedicated tool like Grading Optimization available in your Autodesk account?

This service is for leveling the terrain for solar panels along a specific axis, not the entire terrain. I’ve tried using Grading Optimization, but the results were not satisfactory.

Have you tried another workarounds also? In my opinion I don’t think this can be done easily. Try to create new TIN surfaces and paste them to final TIN surface. There are nodes in Camber package Creating tin surface and paste other surfaces - #4 by mzjensen

I am having difficulty in combining the node of point[] with the reference block. Can you help me?
teste.dyn (18.8 KB)

It’s always good to know the goal and the big picture as you think about how you’re going to achieve it. Can you create a diagram or description of how you want to solve the problem and why? Here this is finding solutions for small problems that may not even be important.

My difficulty in the process is creating a replica of the existing surface (without copying it, as I’ve done that before and it goes wrong) and adding the correction points. I’ve managed to retrieve the points from the surface triangulation in the above file, but I can’t convert them into a surface. Using cogopoint will make the DWG file heavy, so I wanted to use these points I’ve added instead.

Hi Igor,
In Civil 3D you can extract either points or triangles from your surface to create a surface in another drawing. Triangles would be preferred.
Dave