Export AutoCAD polyline length with reference

my problem that i have drawing for network i want to export all length we have block connected polyline this block have attribute that will be the reference
please refer to the attached image


If you want help share your progress so people can assist you. If you are new to dynamo go read the primer and learn about it so you can begin trying to solve your problem.

Check out the camber package as well, has heaps or civil3d good stuff.