2 weeks ago
I am having an issue when using the World Coordinate Dimensions object, I can get it to display the coordinates but is there a way to make the displayed coordinates have more than 2 decimal places shown in the seconds?
for example
E 175° 10' 47.80" which is currently displayed using the object and is accurate to approximately 308mm.
E 175° 10' 47.8045" with 4 decimals is a better accuracy at approximately 3.8mm, 5 decimal places would be even better at 0.38mm but I understand the project location seems to be limited to 4 decimal places itself so that would be acceptable.
Is there a way to get 4 decimal places displayed? This seems to be the same on version AC25 and AC26.
Operating system used: Windows 10
2 weeks ago
try changing the decimal place within the project preference settings withing the calculation units to 4 decimal place.
2 weeks ago
Hi,
The number of decimal places for this object cannot be set in the project preferences because it is defined directly in the object's macro.
You need to make a copy of the object and the macro to add decimal places.
There are only two values to modify on two lines in the 2D and 3D script of the macro.
Here are the original lines that need to be replaced.
text_x_coor = LONG_LETTER + " " + STR(LONG_DEGREE,1,0) + "° " + STR(LONG_MINUTE,1,0) + "' " + STR(LONG_SECOND,3,2) + "''"
text_y_coor = LAT_LETTER + " " + STR(LAT_DEGREE, 1,0) + "° " + STR(LAT_MINUTE, 1,0) + "' " + STR(LAT_SECOND, 3,2) + "''"
And here with 4 decimal places.
text_x_coor = LONG_LETTER + " " + STR(LONG_DEGREE,1,0) + "° " + STR(LONG_MINUTE,1,0) + "' " + STR(LONG_SECOND,5,4) + "''"
text_y_coor = LAT_LETTER + " " + STR(LAT_DEGREE, 1,0) + "° " + STR(LAT_MINUTE, 1,0) + "' " + STR(LAT_SECOND, 5,4) + "''"
And with 5 decimal places.
text_x_coor = LONG_LETTER + " " + STR(LONG_DEGREE,1,0) + "° " + STR(LONG_MINUTE,1,0) + "' " + STR(LONG_SECOND,6,5) + "''"
text_y_coor = LAT_LETTER + " " + STR(LAT_DEGREE, 1,0) + "° " + STR(LAT_MINUTE, 1,0) + "' " + STR(LAT_SECOND, 6,5) + "''"