Hi @akitchensZEZPR
You can easily do it using DATAEXTRACTION command....but there's a catch. You must do it using the Map Task Pane, on Map Explorer Tab (in other words you will need to perform a Query).
Since you are already getting the Lat/Long from the Task Bar, your drawing must already have a properly Assigned Coordinate System. If it is a valid CS for your site then you can use DATEXTRACTION. Here are the instructions.
Before you begin...
- Make sure your drawing has a properly assigned Coordinate System. Don't assign a coordinate system that's perfect for New Zealand if your site is in the USA, that CS is only good for that part of Planet Earth and it isn't a 'proper CS' for your site's location. If you site is in the US, your assigned CS will have units in feet and that's OK even though you want to determine the corresponding coordinates in DEGREES.
- Make sure you CLOSE your original drawing. Your drawing MUST BE CLOSED to run a Query because Map3D won't execute your query if your original is still open.
1. To begin, open a clean, brand new drawing, either imperial or metric, whichever is applicable. On command line type in UNITS. Change the Precision (under the Length section) to 6 or more decimal places. This will allow you to obtain accurate Lat/Longs (6 decimals minimum) when you perform DATAEXTRACTION later on.
<<NOTE: If you wish, you may increase precision to more than 6 decimals places. Six decimals is the minimum.>>
Image-1
2. In this new drawing enter MAPCSASSIGN on command line. Search using LL83=>select EPSG 4269=>Assign.
NOTE: You are assigning EPSG 4269 because you want the coordinates to have units of DEGREES, not feet.
Image-2
<<Alternatively, you may also use LL84, EPSG 4326 to determine the Lat/Long.>>
3. On command line enter MAPWSPACE=>Select 'ON' (from options on command line)=>Go to Map Explorer Tab=>Drag-and-Drop. From your project folder, DRAG the original drawing from its folder=>DROP it onto a blank, empty area of the Map Explorer Tab.
<< Hint: If your original drawing is LARGE, drag it slowly then wait at least 4 seconds b-e-f-o-r-e dropping it on Map Explorer.>>
Image-3
4. Next, you will BUILD your query. Right-click Current query=>Define.
Image-4
5. Establish the parameters of your query by following the steps shown below. NOTE: This query, your query, is simple, super simple, because all you want to do is add OBJECTS from the original drawing to this new one. The query can also (a) add specific objects, (b) add objects only from specific locations in the original dwg, or (c) both a and b. Depending on your creativity and know-how, a query can even do more than a, b, and c. Lots of horsepower!!
<<If you need a more sophisticated query, please start a new post.>>Image-5
6. After EXECUTE QUERY, zoom extents to see the query results. Finally,detach your original drawing. While the drawing is 'attached' to the Map Explorer Tab, Map3D 'locks' it down. By detaching, the drawing will be unlocked. Map3D cannot open a locked dwg.
Image-6
Finally, perform DATAEXTRACTION to pull out the X/Y coordinates, Lat and Long respectively, their units will automatically be in DEGREES. Why? Because earlier you assigned a CS with units of Degrees (EPSG 4269).
<<The DataExtraction command is not covered in this post.>>
Chicagolooper