<?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: Inserting a block with a macro in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/inserting-a-block-with-a-macro/m-p/5496901#M341007</link>
    <description>&lt;P&gt;Post your drawing, SheetInfo 24x36.dwg, and we'll test it for you.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Feb 2015 00:15:29 GMT</pubDate>
    <dc:creator>tcorey</dc:creator>
    <dc:date>2015-02-06T00:15:29Z</dc:date>
    <item>
      <title>Inserting a block with a macro</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/inserting-a-block-with-a-macro/m-p/5496778#M341006</link>
      <description>&lt;P&gt;Need some help with a macro. Im trying to insert a specific block with a macro then run attsync directly afterwards with the same block. &amp;nbsp;i want to overwrite the block thats in the drawing then update the attribute. I cant seem to get the macro to redefine the block. Here is my macro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;^C^C-INSERT;"H:/BL-LIB/Sheet Info 24x36.dwg";0,0;;;;attsync;Name;Sheet Info 24x36;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 22:37:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/inserting-a-block-with-a-macro/m-p/5496778#M341006</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-05T22:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting a block with a macro</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/inserting-a-block-with-a-macro/m-p/5496901#M341007</link>
      <description>&lt;P&gt;Post your drawing, SheetInfo 24x36.dwg, and we'll test it for you.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 00:15:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/inserting-a-block-with-a-macro/m-p/5496901#M341007</guid>
      <dc:creator>tcorey</dc:creator>
      <dc:date>2015-02-06T00:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting a block with a macro</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/inserting-a-block-with-a-macro/m-p/5497070#M341008</link>
      <description>&lt;P&gt;You need to show that you are wanting to redefine the block by using the format "blockname=new file" and give the answer "yes" to wanting to redefine the block, at the moment your macro is just inserting another block with the same name as an existing block so the exsisting block definition will be used.&lt;/P&gt;&lt;P&gt;Try this but it might need tweeking, and if you put the block into Autocads search path then you won't need the complete file path.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;^C^C-INSERT;"Sheet Info 24x36.dwg=H:/BL-LIB/Sheet Info 24x36.dwg";y;0,0;;;;attsync;Name;Sheet Info 24x36;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 05:57:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/inserting-a-block-with-a-macro/m-p/5497070#M341008</guid>
      <dc:creator>steven-g</dc:creator>
      <dc:date>2015-02-06T05:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting a block with a macro</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/inserting-a-block-with-a-macro/m-p/5497516#M341009</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/545279"&gt;@steven-g&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;You need to show that you are wanting to redefine the block by using the format "blockname=new file" and give the answer "yes" to wanting to redefine the block, at the moment your macro is just inserting another block with the same name as an existing block so the exsisting block definition will be used.&lt;/P&gt;&lt;P&gt;Try this but it might need tweeking, and if you put the block into Autocads search path then you won't need the complete file path.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;^C^C-INSERT;"Sheet Info 24x36.dwg=H:/BL-LIB/Sheet Info 24x36.dwg";y;0,0;;;;attsync;Name;Sheet Info 24x36;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;I did have to reconfigure this a bit but it's working now. I had to take off the .dwg on the "blockname=new file" because it was inserting the block &amp;amp; renaming to "blockname.dwg" which i did not even know was possible. Here is what i ended up with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;^C^C-INSERT;"Sheet Info 24x36=H:/BL-LIB/Sheet Info 24x36.dwg";y;;0,0;;attsync;Name;Sheet Info 24x36;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 13:46:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/inserting-a-block-with-a-macro/m-p/5497516#M341009</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-06T13:46:30Z</dc:date>
    </item>
  </channel>
</rss>

