<?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: Link drawing to external data in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/link-drawing-to-external-data/m-p/8562222#M152011</link>
    <description>&lt;P&gt;It can certainly be done with programming and if you would need help feel free to contact me.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jan 2019 20:34:03 GMT</pubDate>
    <dc:creator>JTBWorld</dc:creator>
    <dc:date>2019-01-30T20:34:03Z</dc:date>
    <item>
      <title>Link drawing to external data</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/link-drawing-to-external-data/m-p/8554962#M152007</link>
      <description>&lt;P&gt;Please excuse my newby language in trying to describe my problem. I searched for a solution and could not find it, maybe because I don't have the necessary "lingo" of the field. But hopefully you can point me in the right direction as I do hope that what I want to do is commonly done.&lt;BR /&gt;&lt;BR /&gt;Say I have an AutoCAD drawing with lots of irregular shape hatch areas assigned to various layers.&amp;nbsp;&lt;BR /&gt;I also have an Excel sheet with information that should be mapped to those hatched areas. Say one of the columns is "type" and based on that type I should place the hatch in a given layer in the drawing.&lt;BR /&gt;&lt;BR /&gt;So what I am after is some guidance on how to go about:&lt;BR /&gt;- assigning some unique ID to the hatch (or accessing it if it automatically gets one on creation)&lt;BR /&gt;- export a list of hatches with their ID and current layer&lt;BR /&gt;- link (programatically?) the drawing to the Excel file so that on update the hatch moves to the layer commanded by the type specified in the layer&lt;BR /&gt;&lt;BR /&gt;While searching for answers on my own I noticed that one can define blocks with attributes. That does not seem to be applicable here as I don't have reusable components (my understanding of blocks) but rather unique objects.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 17:40:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/link-drawing-to-external-data/m-p/8554962#M152007</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-28T17:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Link drawing to external data</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/link-drawing-to-external-data/m-p/8556757#M152008</link>
      <description>&lt;P&gt;Hello&amp;nbsp;@Anonymous,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry. There is no &lt;A href="https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2019/ENU/AutoCAD-Core/files/GUID-B94870E7-49CE-4BB0-A978-382A38E1FED8-htm.html?st=hatches%20commands" target="_blank" rel="noopener"&gt;hatch&lt;/A&gt; tool or feature for that kind of workflow. Its a great idea.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 00:59:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/link-drawing-to-external-data/m-p/8556757#M152008</guid>
      <dc:creator>natasha.l</dc:creator>
      <dc:date>2019-01-29T00:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Link drawing to external data</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/link-drawing-to-external-data/m-p/8557315#M152009</link>
      <description>&lt;P&gt;Looking around in the tool I found that I can attach something called XData to my hatch and then list it.&lt;BR /&gt;So I can use the int field to assign an ID and even store the layer in there (optional).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;Command: xdlist
Select object:
Enter application name &amp;lt;*&amp;gt;: Test
* Registered Application Name: TEST
* Code 1002, Starting or ending brace: {
* Code 1070, 16-bit integer: 32000
* Code 1003, Layer name: Test
* Code 1002, Starting or ending brace: }
Object has 16330 bytes of Xdata space available.&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Am I wrong to asume that I should now be able to iterate all objects that have XData in the drawing, using LISP, and move them to the desired layer?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 09:01:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/link-drawing-to-external-data/m-p/8557315#M152009</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-29T09:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Link drawing to external data</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/link-drawing-to-external-data/m-p/8557348#M152010</link>
      <description>&lt;P&gt;Hmm, maybe I don't even need that since I can fetch entity's name as an ID using &lt;STRONG&gt;entnext&lt;/STRONG&gt; &amp;amp; co...&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 09:13:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/link-drawing-to-external-data/m-p/8557348#M152010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-29T09:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Link drawing to external data</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/link-drawing-to-external-data/m-p/8562222#M152011</link>
      <description>&lt;P&gt;It can certainly be done with programming and if you would need help feel free to contact me.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 20:34:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/link-drawing-to-external-data/m-p/8562222#M152011</guid>
      <dc:creator>JTBWorld</dc:creator>
      <dc:date>2019-01-30T20:34:03Z</dc:date>
    </item>
  </channel>
</rss>

