Create a string at a defined grade that follows the selected DTM Surface
Civil 3D already has this tool - Create a grade slope over a Surface. Simple and easy to create a polyline or string at the defined grade that overlays the selected surface. https://youtu.be/t6VAKWSD-7o