I am trying to find where the formatting is for the General Legal Description bearings. I am currently getting an output of NORTH 00° 12' 33" EAST, but would like to eliminate the spaces in the DMS: NORTH 00°12'33" EAST. This is also the case with the delta angle for curves. When I run the Metes and Bounds report, the bearings appear without the spaces. I think that I have changed it before, but I have switched employers since editing the files.
Civil 3D 2012
Solved! Go to Solution.
C3D makes it incredibly difficult to edit any of the settings in the General Legal Description. It takes a little coding knowledge to edit the settings. Look for the XSL file located at:
I believe the xsl file is name Number Formatting.xsl is the correct file to use. Open and Search for the string the has
var dirStr = FormatDirectionWithUnit(adjDir , precisionStr, roundingStr, unit);
return northLabel +" " + dirStr + " " + eastLabel;
Take the space out between the quotes " " should equal "". Do this to all that applies. This should fix the problem, but there is likely more to come with General Legal description. Every little tweak should be done carefully. Make Sure to backup all files in the XSL folder before editing them, one wrong character could make the code invalid. Also C3D General Legal script does not work with any IE beyond 10. Chrome and Firefox does not support the script either. The coders at Autodesk addressed the problem, but stated they have no interest in fixing the problem at this time.
Hope this helps and Good Luck!
That was part of the problem, Thanks for the info. After removing the space inside the quotes, it also removed the space between the North and the East in the bearing output. I changed the format in the Legal Description_Layout. xsl to add a space after North and South and a space preceding East and West.
dirType = type;
if(type == "N deg min sec E")
dirType = "Bearing";
else if(type == "North deg min sec East")
dirType = "Bearing";
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register