<?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: Updating blocks without opening every drawing in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/updating-blocks-without-opening-every-drawing/m-p/11108454#M2556</link>
    <description>&lt;P&gt;ScriptPro is easy to use. You just select the script file to run and select the files to run it on. You can also save this as a job file to run again. It also has some special commands that you can use in your script, like for saving the file to a previous version. The script only needs to process one file. You do need to have it account for variations in the files you might open.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No, there is no script recording option, but you can copy the text you enter at the command line. Hit F2, rt+click, Copy History. Pretty simple stuff.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached is an old script I used to import page setups. IZit has a txt ext because you can't upload scr files..&lt;/P&gt;</description>
    <pubDate>Fri, 15 Apr 2022 15:25:31 GMT</pubDate>
    <dc:creator>Ed__Jobe</dc:creator>
    <dc:date>2022-04-15T15:25:31Z</dc:date>
    <item>
      <title>Updating blocks without opening every drawing</title>
      <link>https://forums.autodesk.com/t5/vba-forum/updating-blocks-without-opening-every-drawing/m-p/11103823#M2550</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At our facility, we have over 4k P&amp;amp;ID's. A majority of them have equipment data blocks. I've been asked if we can create a "program" that could remove certain data or update the block without having to open every drawing. In the photo attached, I either need to remove the SAP# attribute or remove that section of the block all together. Removal of the attribute would suffice at this time.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any ideas on what the best path forward would be?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 15:09:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/updating-blocks-without-opening-every-drawing/m-p/11103823#M2550</guid>
      <dc:creator>Johnny.Goodson</dc:creator>
      <dc:date>2022-04-13T15:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Updating blocks without opening every drawing</title>
      <link>https://forums.autodesk.com/t5/vba-forum/updating-blocks-without-opening-every-drawing/m-p/11103874#M2551</link>
      <description>&lt;P&gt;Yes, you could certainly use VBA, but it sounds like you don't have any/much programming experience. If that's true, I would recommend using a script and then running the script with &lt;A href="https://github.com/ADN-DevTech/ScriptPro-installer#start-of-content" target="_blank" rel="noopener"&gt;ScriptPro&lt;/A&gt;. You can schedule it to run at night.&lt;/P&gt;
&lt;P&gt;For tips on how to schedule the job at night, see &lt;A href="https://forums.autodesk.com/t5/vba/publish-or-print-files-automatically-every-month/td-p/11027033/jump-to/first-unread-message" target="_blank" rel="noopener"&gt;this thread&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 15:45:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/updating-blocks-without-opening-every-drawing/m-p/11103874#M2551</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2022-04-13T15:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Updating blocks without opening every drawing</title>
      <link>https://forums.autodesk.com/t5/vba-forum/updating-blocks-without-opening-every-drawing/m-p/11108364#M2552</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12232144"&gt;@Johnny.Goodson&lt;/a&gt; Did the reply answer your question? Are you able to write a script? It's just what you would type at the command line. With ScriptPro, you just have to figure out how to process one dwg. ScriptPro takes care of the batch processing.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 14:14:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/updating-blocks-without-opening-every-drawing/m-p/11108364#M2552</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2022-04-15T14:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Updating blocks without opening every drawing</title>
      <link>https://forums.autodesk.com/t5/vba-forum/updating-blocks-without-opening-every-drawing/m-p/11108417#M2553</link>
      <description>&lt;P&gt;It makes sense. I'm not sure how to write a code to select the block attribute and erase it. I will be researching it&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 14:41:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/updating-blocks-without-opening-every-drawing/m-p/11108417#M2553</guid>
      <dc:creator>Johnny.Goodson</dc:creator>
      <dc:date>2022-04-15T14:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Updating blocks without opening every drawing</title>
      <link>https://forums.autodesk.com/t5/vba-forum/updating-blocks-without-opening-every-drawing/m-p/11108446#M2554</link>
      <description>&lt;P&gt;In a &lt;A href="https://help.autodesk.com/view/OARX/2022/ENU/?guid=GUID-95BB6824-0700-4019-9672-E6B502659E9E" target="_blank" rel="noopener"&gt;script&lt;/A&gt; (its just an ascii text file, e.g. Notepad, with a scr extension), you just record what you can type at the command line. You can't use commands that use dialogs because you can't control the mouse. You can also do your work in vba, and in the script, run the vba with the VBARUN command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Search this forum for selecting and editing blocks. It's not that hard to do what you are asking. If I have more time later, I can help further. If it were me, I would do what I want in VBA and then execute it in the script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: You might also want to post a dwg with the blocks in them.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 15:13:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/updating-blocks-without-opening-every-drawing/m-p/11108446#M2554</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2022-04-15T15:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Updating blocks without opening every drawing</title>
      <link>https://forums.autodesk.com/t5/vba-forum/updating-blocks-without-opening-every-drawing/m-p/11108447#M2555</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/14801"&gt;@Ed__Jobe&lt;/a&gt;&amp;nbsp;I don't know in deep script pro software, is there the script recoding option?&lt;/P&gt;&lt;P&gt;If &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12232144"&gt;@Johnny.Goodson&lt;/a&gt;&amp;nbsp;start recording for one drawing I guess he can apply the same to the others.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 15:10:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/updating-blocks-without-opening-every-drawing/m-p/11108447#M2555</guid>
      <dc:creator>grobnik</dc:creator>
      <dc:date>2022-04-15T15:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Updating blocks without opening every drawing</title>
      <link>https://forums.autodesk.com/t5/vba-forum/updating-blocks-without-opening-every-drawing/m-p/11108454#M2556</link>
      <description>&lt;P&gt;ScriptPro is easy to use. You just select the script file to run and select the files to run it on. You can also save this as a job file to run again. It also has some special commands that you can use in your script, like for saving the file to a previous version. The script only needs to process one file. You do need to have it account for variations in the files you might open.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No, there is no script recording option, but you can copy the text you enter at the command line. Hit F2, rt+click, Copy History. Pretty simple stuff.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached is an old script I used to import page setups. IZit has a txt ext because you can't upload scr files..&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 15:25:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/updating-blocks-without-opening-every-drawing/m-p/11108454#M2556</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2022-04-15T15:25:31Z</dc:date>
    </item>
  </channel>
</rss>

