<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Coordinates format in Data Extraction in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12856225#M14074</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4920461"&gt;@calderg1000&lt;/a&gt;&amp;nbsp;Thanks Carlos! This is very insightful.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Ideally I&amp;nbsp; want the relative system in the DE as it is more intutive. Is there a way we can get the relative coordinates in the DE?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 23 Jun 2024 09:31:07 GMT</pubDate>
    <dc:creator>anoopXR6VK</dc:creator>
    <dc:date>2024-06-23T09:31:07Z</dc:date>
    <item>
      <title>Coordinates format in Data Extraction</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12855074#M14065</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am extracting the coordinates of a text layer through Data Extraction. I don't understand why the coordinate format in the extract don't match with what I see on screen.&lt;BR /&gt;&lt;BR /&gt;This is what I see on screen:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anoopXR6VK_0-1719049484541.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1378802iA5183DA980243A12/image-size/medium?v=v2&amp;amp;px=400" role="button" title="anoopXR6VK_0-1719049484541.png" alt="anoopXR6VK_0-1719049484541.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the corresponding extracted value:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anoopXR6VK_1-1719049558090.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1378803iCB88B6A0B99B42EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="anoopXR6VK_1-1719049558090.png" alt="anoopXR6VK_1-1719049558090.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any pointers on how I can get the extract in the same format visible on screen?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jun 2024 09:48:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12855074#M14065</guid>
      <dc:creator>anoopXR6VK</dc:creator>
      <dc:date>2024-06-22T09:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Coordinates format in Data Extraction</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12855097#M14066</link>
      <description>&lt;P&gt;post the dwg and explain what the data is relevant to, coordinate system, metric or imperial.&amp;nbsp; any of that may help get a solution.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jun 2024 10:13:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12855097#M14066</guid>
      <dc:creator>parkr4st</dc:creator>
      <dc:date>2024-06-22T10:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Coordinates format in Data Extraction</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12855104#M14067</link>
      <description>&lt;P&gt;Thanks for the response!&lt;BR /&gt;&lt;BR /&gt;I have attached a sample of the dwg file.&lt;BR /&gt;&lt;BR /&gt;The relevant layer is PVCase Stringing Numbers. I am looking to extract the geometric positions of these text fields. These represnt the electrical strings for a PV plant.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anoopip_0-1719051692467.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1378807iB711DF6A9D5C1850/image-size/medium?v=v2&amp;amp;px=400" role="button" title="anoopip_0-1719051692467.png" alt="anoopip_0-1719051692467.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have to dig deeper into what these coordinates represent. But a great first step would be to get the same output when I extract the data into an excel file (attached).&lt;BR /&gt;&lt;BR /&gt;I hope this clear enough&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jun 2024 10:28:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12855104#M14067</guid>
      <dc:creator>anoopip</dc:creator>
      <dc:date>2024-06-22T10:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Coordinates format in Data Extraction</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12855114#M14068</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="parkr4st_0-1719052859548.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1378808iA4A72263A498065B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="parkr4st_0-1719052859548.png" alt="parkr4st_0-1719052859548.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What is the application you are using?&amp;nbsp; I am unable to do anything with your file&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jun 2024 10:42:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12855114#M14068</guid>
      <dc:creator>parkr4st</dc:creator>
      <dc:date>2024-06-22T10:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Coordinates format in Data Extraction</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12855117#M14069</link>
      <description>I am using AutoCAD 2025. Are you using 2024?&lt;BR /&gt;</description>
      <pubDate>Sat, 22 Jun 2024 10:44:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12855117#M14069</guid>
      <dc:creator>anoopip</dc:creator>
      <dc:date>2024-06-22T10:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Coordinates format in Data Extraction</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12855118#M14070</link>
      <description>&lt;P&gt;Please click on continue&amp;nbsp;opening DWG file..It should work normally, let me know if you are still facing issues&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jun 2024 11:01:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12855118#M14070</guid>
      <dc:creator>anoopXR6VK</dc:creator>
      <dc:date>2024-06-22T11:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Coordinates format in Data Extraction</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12855180#M14071</link>
      <description>&lt;P&gt;2020&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;go back to post 3 image.&amp;nbsp; recapture the full screen to include everything&amp;nbsp; on the screen and post that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That should show the software title &amp;amp; coordinate information&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jun 2024 12:29:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12855180#M14071</guid>
      <dc:creator>parkr4st</dc:creator>
      <dc:date>2024-06-22T12:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Coordinates format in Data Extraction</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12855518#M14072</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anoopXR6VK_0-1719080450209.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1378883i7A41D7BE47524606/image-size/medium?v=v2&amp;amp;px=400" role="button" title="anoopXR6VK_0-1719080450209.png" alt="anoopXR6VK_0-1719080450209.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Here you go. Hope this helps.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jun 2024 18:21:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12855518#M14072</guid>
      <dc:creator>anoopXR6VK</dc:creator>
      <dc:date>2024-06-22T18:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Coordinates format in Data Extraction</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12855931#M14073</link>
      <description>&lt;P&gt;Regards&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15501794"&gt;@anoopXR6VK&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are working with a relative coordinate system, it is rotated and with its origin at the point that I show in the image&lt;BR /&gt;That is why with ID, it shows you a value corresponding to the current system. But with DE, it shows you the value of its location in the Universal system.&lt;BR /&gt;Apply UCS-&amp;gt;W-&amp;gt;ENTER, Then PLANT-&amp;gt;CURRENT UCS and you will be in the Universal system. Then by applying DE, you will already have coordinate matches.&lt;BR /&gt;But my question is which of the&amp;nbsp;2 coordinate values ​​do you require. The universal or the relative...?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="calderg1000_0-1719111151002.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1378946i57ABA9BE3302FEBC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="calderg1000_0-1719111151002.png" alt="calderg1000_0-1719111151002.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jun 2024 03:02:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12855931#M14073</guid>
      <dc:creator>calderg1000</dc:creator>
      <dc:date>2024-06-23T03:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Coordinates format in Data Extraction</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12856225#M14074</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4920461"&gt;@calderg1000&lt;/a&gt;&amp;nbsp;Thanks Carlos! This is very insightful.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Ideally I&amp;nbsp; want the relative system in the DE as it is more intutive. Is there a way we can get the relative coordinates in the DE?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jun 2024 09:31:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12856225#M14074</guid>
      <dc:creator>anoopXR6VK</dc:creator>
      <dc:date>2024-06-23T09:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Coordinates format in Data Extraction</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12857173#M14075</link>
      <description>&lt;P&gt;Regards&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15501794"&gt;@anoopXR6VK&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With DE, I don't think it's possible directly. Since it always obtains the coordinates in the Universal system. Maybe moving your entire drawing to (0,0) and rotating it to coincide with the Y axis can achieve what you require.&lt;/P&gt;
&lt;P&gt;Try this code to obtain the coordinate table of the insertion points of the texts in the current coordinate system, verified in the file you attached...&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;(Defun c:Coord_tx (/ LData ss i e tx ccoord X_ Y_ eData Obj_Table Tname crow)
  (vl-load-com)
  (if
    (setq LData nil
          ss    (ssget '((0 . "MTEXT")))
    )
     (progn
       (repeat (setq i (sslength ss))
         (setq e  (vlax-ename-&amp;gt;vla-object (ssname ss (setq i (1- i))))
               tx (vlax-get e 'textstring)
         )
         (if (= (atoi (substr tx 2 1)) 3)
           (progn
             (setq ccoord (trans (vlax-get e 'InsertionPoint) 0 1)
                   X_     (car ccoord)
                   Y_     (cadr ccoord)
                   eData  (list tx X_ Y_)
                   LData  (cons eData LData)
             )
           )
         )
       )                                          ;repeat
       (setq LData (vl-sort LData '(lambda (m n) (&amp;lt; (Car m) (car n)))))
       (setq Obj_Table
              (vlax-invoke
                (vlax-get (vla-get-ActiveLayout
                            (vla-get-activedocument (vlax-get-acad-object))
                          )
                          'Block
                )
                'Addtable
                (trans (getpoint "\nPick point for Table:") 1 0)
                2
                3
                25
                150
              )
       )
       (setq Tname "COORDINATE TABLE")
       (vla-settext Obj_Table 0 0 Tname)
       (vla-setcelltextheight Obj_Table 0 0 8.0)
       (mapcar '(lambda (y)
                  (vla-settext Obj_Table 1 (car y) (cadr y))
                  (vla-setcelltextheight Obj_Table 1 (car y) 8.0)
                )
               (list '(0 "Contents") '(1 "Position X") '(2 "Position Y"))
       )
       (foreach j LData
         (vla-insertrows
           Obj_Table
           (1+ (setq crow (vla-get-rows Obj_Table)))
           15
           1
         )
         (vla-setcelltextheight Obj_Table crow 0 8.0)
         (vla-setCellAlignment Obj_Table crow 0 5)
         (vla-setCellValue Obj_Table crow 0 (car j))
         (vla-setCellValue Obj_Table crow 1 (cadr j))
         (vla-setCellValue Obj_Table crow 2 (caddr j))
         (vla-setcelltextheight Obj_Table crow 1 8.0)
         (vla-setcelltextheight Obj_Table crow 2 8.0)
         (vla-setCellAlignment Obj_Table crow 1 5)
         (vla-setCellAlignment Obj_Table crow 2 5)
         (vla-setcellformat Obj_Table crow 1 "%lu2%pr3%ps[, m]")
         (vla-setcellformat Obj_Table crow 2 "%lu2%pr3%ps[, m]")
       )
       (vla-setColumnWidth Obj_Table 1 100)
       (vla-setColumnWidth Obj_Table 2 100)
     )
  )
  (princ)
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 04:27:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12857173#M14075</guid>
      <dc:creator>calderg1000</dc:creator>
      <dc:date>2024-06-24T04:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Coordinates format in Data Extraction</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12857457#M14076</link>
      <description>&lt;P&gt;Amazing! Thank you so much for this&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4920461"&gt;@calderg1000&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 07:51:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/coordinates-format-in-data-extraction/m-p/12857457#M14076</guid>
      <dc:creator>anoopXR6VK</dc:creator>
      <dc:date>2024-06-24T07:51:35Z</dc:date>
    </item>
  </channel>
</rss>

