<?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: Update multiple of the same attribute with different values via excel in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/update-multiple-of-the-same-attribute-with-different-values-via/m-p/5957517#M299263</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't how to update but I can help you by another way...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make a script witch create your blocks and fills attributes.&lt;/P&gt;&lt;P&gt;Based on your excel file and your block in your support file, make a script like that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;_insert "blockname" scales att1 att2 att3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Dec 2015 09:22:51 GMT</pubDate>
    <dc:creator>Guillaume.Desmedt</dc:creator>
    <dc:date>2015-12-18T09:22:51Z</dc:date>
    <item>
      <title>Update multiple of the same attribute with different values via excel</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/update-multiple-of-the-same-attribute-with-different-values-via/m-p/5952451#M299262</link>
      <description>&lt;P&gt;To all you cad geniuses, a question:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Working for a structural engineer, I have many blocks that need to be sized for our plans. In particular I have a block with (3) attributes for my structural beams and headers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the Extract Data command in Autocad 2016 (Annotate tab &amp;gt; Tables Panel &amp;gt; Extract Data), I am able to create an Excel file with those attributes very quickly for all the blocks in my drawing. Even when blocks are added or removed I am able to simply update the excel file in the same way that I have created it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Block Name: HDR1&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1st Tag: &lt;STRONG&gt;Handle&lt;/STRONG&gt; - This is intended to be used to identify the block from other blocks of the same name. This attribute is invisible. I use "ATTDISP" to view it when needed.&lt;/P&gt;&lt;P&gt;2nd Tag: &lt;STRONG&gt;Calc&lt;/STRONG&gt; - This is intended to be a numbered place holder for the engineer.&lt;/P&gt;&lt;P&gt;3rd Tag: &lt;STRONG&gt;HDR&lt;/STRONG&gt; - This is intended to display the size of the header needed for that block (e.g. (2)-2x6, (2)-2x8 etc.).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is this: Is there a command / lisp routine that I could use to update the block attribute values in the 2nd and 3rd tag by searching / finding the block by the 1st tag when the excel file is updated by the engineer?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far I have used the commands "ATTOUT" and "ATTIN", this worked fine at first but could not be used a second time if the engineer changed thier mind about the header size.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also used Lee Mac's "Update Titleblock" program (which was awesome!), but it updated all my blocks to be exactly the same for all attributes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample files have been attached. Thanks in advance for all your help folks! You guys rock!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2015 16:48:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/update-multiple-of-the-same-attribute-with-different-values-via/m-p/5952451#M299262</guid>
      <dc:creator>TP-WEI</dc:creator>
      <dc:date>2015-12-15T16:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Update multiple of the same attribute with different values via excel</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/update-multiple-of-the-same-attribute-with-different-values-via/m-p/5957517#M299263</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't how to update but I can help you by another way...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make a script witch create your blocks and fills attributes.&lt;/P&gt;&lt;P&gt;Based on your excel file and your block in your support file, make a script like that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;_insert "blockname" scales att1 att2 att3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 09:22:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/update-multiple-of-the-same-attribute-with-different-values-via/m-p/5957517#M299263</guid>
      <dc:creator>Guillaume.Desmedt</dc:creator>
      <dc:date>2015-12-18T09:22:51Z</dc:date>
    </item>
  </channel>
</rss>

