Changing Dashes to Degrees Symbol in Civil 3D Reports Output

Your report displays a bearing as S 14-42-4.233 W
You want to change the format to S 14° 42′ 04″ W

Original Bearing Format with Dashes
Original Bearing Format with Dashes
Corrected Bearing Format
Corrected Bearing Format

To correct the bearing format make changes to this file
C:\ProgramData\Autodesk\C3D 2017\enu\Data\Reports\xsl\General_Formating_JScript.xsl

Edited Line 216 to correct formatting of
function formatAngleToDMS(angle)

Change this on line 216
return degrees + “-” + minutes + “-” + seconds;
to this
return degrees + “° ” + minutes + “‘ ” + seconds + “””;

Leave a Reply

Your email address will not be published. Required fields are marked *