<?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: Script for automating changes within blocks in AutoCAD Electrical Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-electrical-forum/script-for-automating-changes-within-blocks/m-p/7100651#M31703</link>
    <description>&lt;P&gt;Try the attached&amp;nbsp;lisp routine that Nate Holt wrote for ACADE 2008...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What it does is that you type in the block name (defaults to WD_M), attribute you want to change, the new value you want to place in the selected attribute,&amp;nbsp;then select the dwgs to process. It will then go through the selected dwgs and change the ALL the selected attributes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is command line driven for the most part and only swaps to a dialog box to select the dwgs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As it was written for ACADE 2008, you may need to do some modifications but it will give you a place to start.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards Brad&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>Mon, 22 May 2017 23:30:43 GMT</pubDate>
    <dc:creator>Icemanau</dc:creator>
    <dc:date>2017-05-22T23:30:43Z</dc:date>
    <item>
      <title>Script for automating changes within blocks</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/script-for-automating-changes-within-blocks/m-p/7095561#M31702</link>
      <description>&lt;P&gt;I want to write scripts to automate redundant tasks like changing text in a block field in a set of 70 drawings using FIND AND REPLACE. How do you instruct the script to TAB enough times to select the field to change and then to TAB over to select DONE? I cannot find any information on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lee&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 13:50:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/script-for-automating-changes-within-blocks/m-p/7095561#M31702</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-19T13:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Script for automating changes within blocks</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/script-for-automating-changes-within-blocks/m-p/7100651#M31703</link>
      <description>&lt;P&gt;Try the attached&amp;nbsp;lisp routine that Nate Holt wrote for ACADE 2008...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What it does is that you type in the block name (defaults to WD_M), attribute you want to change, the new value you want to place in the selected attribute,&amp;nbsp;then select the dwgs to process. It will then go through the selected dwgs and change the ALL the selected attributes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is command line driven for the most part and only swaps to a dialog box to select the dwgs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As it was written for ACADE 2008, you may need to do some modifications but it will give you a place to start.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards Brad&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>Mon, 22 May 2017 23:30:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/script-for-automating-changes-within-blocks/m-p/7100651#M31703</guid>
      <dc:creator>Icemanau</dc:creator>
      <dc:date>2017-05-22T23:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Script for automating changes within blocks</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/script-for-automating-changes-within-blocks/m-p/7107327#M31704</link>
      <description>&lt;P&gt;If these are AutoCAD Electrical drawings, have you tried these functions?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2017-05-24_23-48-00.png" style="width: 615px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/359879iC55E236D43BEE39F/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-05-24_23-48-00.png" alt="2017-05-24_23-48-00.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And, there's no way to script interaction with dialog boxes in AutoCAD. You'll have to do some coding as well, in LISP, VBA, or .NET.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 21:50:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/script-for-automating-changes-within-blocks/m-p/7107327#M31704</guid>
      <dc:creator>rhesusminus</dc:creator>
      <dc:date>2017-05-24T21:50:24Z</dc:date>
    </item>
  </channel>
</rss>

