AutoCAD FIELD Expression to display Lat/Long value as Text

By Partha Sarkar

What FIELD Expression should I use to show the Lat/Long value of a Point object in a DWG file in AutoCAD Map 3D which has an assigned coordinate system ? 

Here is an example of a 'FIELD Expression' you can use to how the Lat/Long value as Text in AutoCAD Map 3D –

%<\AcObjProp Object(%<_ObjId 8796087804352>%).Coordinates \f "%lu6">%

 

Map3D_CS_Field


Comments

2 responses to “AutoCAD FIELD Expression to display Lat/Long value as Text”

  1. Partha,
    The field string is showing the coordinates for the point and since the point happens to be within the limits of the lat/long values, it works. If you were to have a point that was at a state plane coordinate, is there a way to show the latitude and longitude for it with a field?
    Thank you,
    Stacy

  2. Beyond the limit, it won’t have the correct information of the Lat/Long.
    Let me know if I am missing something here and in that case you can drop me an email with some screenshot / sample dwg file explaining the requirement.
    Thanks,
    Partha

Leave a Reply to Partha SarkarCancel reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading