automatic positioning of pipe trough elevations in dynamo

Hello community! I’m seeking guidance on how to create a Dynamo script for Civil 3D that automates the placement of slope dimensions on pipes, whether for pressure or gravity systems. I would appreciate any knowledge or suggestions you may have on this matter. Thank you in advance for your assistance

Good evening or morning and Welcome to the forum.

Do you want to set a specific label along the pipe ?
Maybe you can add a picture, a file and please show us what you have come up with so far.

Please read this thread if you haven’t seen it already.

Hello Patrick.ericson Good morning

I hope you are feeling well and thank you very much for answering my question.

what I’m looking for is the ability to automatically and extensively modify the values shown in the image, which correspond to the heights of the manholes at each section of the pipe.

Not that familiar with Pressure pipes but have you checked the nodes in Camber, Civil 3D Toolkit and Arkance package? There will be some of them that attach to Pressure pipes.