<?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: AutoCAD Data Extract in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/autocad-data-extract/m-p/12616056#M20109</link>
    <description>&lt;P&gt;I did some similar things (without data extract) where I needed some help from others, this is the post:&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/running-a-script-through-a-batch-file/m-p/11672850#M441840" target="_blank"&gt;https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/running-a-script-through-a-batch-file/m-p/11672850#M441840&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I originally based it off an AU class by Michael Best (link in the original post)&lt;BR /&gt;&lt;BR /&gt;basically you do something like this:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;set accoreexe="C:\Program Files\Autodesk\AutoCAD 2024\accoreconsole.exe"
set source="C:\YourDirectoryWithDWG's"
set script="C:\YourScript.scr"
FOR /f "delims=" %%f IN ('dir /b "%source%\*.dwg"') DO %accoreexe% /i %source%\%%f /s %script%&lt;/LI-CODE&gt;&lt;P&gt;I'm not sure the core console is capable of executing a data extraction, it is not 100% the same as the interfaced version of autocad and it's very difficult to find documentation about.&lt;BR /&gt;&lt;BR /&gt;If per chance the name of the dwg's is always the same you can just skip this all and just save all 3 .dwg's in the same dxe file. It is perfectly possible to run data extraction on multiple drawings at once.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2024 12:54:41 GMT</pubDate>
    <dc:creator>Michiel.Valcke</dc:creator>
    <dc:date>2024-03-05T12:54:41Z</dc:date>
    <item>
      <title>AutoCAD Data Extract</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-data-extract/m-p/12615653#M20106</link>
      <description>&lt;P&gt;Apologies - I have seen some replies on this on here but I'm still having issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my test, I have 3 .dwg files in a folder called c:\extract&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All I need to do is to open each file, do an data extract of basic block attributes to a .csv file but it keeps falling down for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate any help and apologies for the basic question.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 11:26:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-data-extract/m-p/12615653#M20106</guid>
      <dc:creator>barry_fletcher</dc:creator>
      <dc:date>2024-03-05T11:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD Data Extract</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-data-extract/m-p/12615953#M20107</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15017533"&gt;@barry_fletcher&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may need to provide more information on your meaning of "it keeps falling down".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let us know if you are working with AutoCAD LT or Dynamic blocks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/How-to-extract-block-attributes-in-AutoCAD-LT.html" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;How to extract block attributes in AutoCAD LT&lt;/STRONG&gt;&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Unable-to-extract-Constant-attributes-contained-in-dynamic-blocks-in-AutoCAD.html" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Unable to extract Constant attributes contained in dynamic blocks in AutoCAD&lt;/STRONG&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-BA68DD22-A3CD-4538-90A9-6101C33BC963" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;About Extracting Data from Block Attributes&lt;/STRONG&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 05 Mar 2024 12:20:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-data-extract/m-p/12615953#M20107</guid>
      <dc:creator>Valentin_CAD</dc:creator>
      <dc:date>2024-03-05T12:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD Data Extract</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-data-extract/m-p/12615973#M20108</link>
      <description>&lt;P&gt;Apologies - I was rushing when typing. Each example I follow from online searchs stop working at some stage. Would you have a sample .bat and .scr that I can edit the paths on to get this to work. All I am doing is automating a data extract that I am currently performing manually by doing a dx command.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 12:28:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-data-extract/m-p/12615973#M20108</guid>
      <dc:creator>barry_fletcher</dc:creator>
      <dc:date>2024-03-05T12:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD Data Extract</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-data-extract/m-p/12616056#M20109</link>
      <description>&lt;P&gt;I did some similar things (without data extract) where I needed some help from others, this is the post:&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/running-a-script-through-a-batch-file/m-p/11672850#M441840" target="_blank"&gt;https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/running-a-script-through-a-batch-file/m-p/11672850#M441840&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I originally based it off an AU class by Michael Best (link in the original post)&lt;BR /&gt;&lt;BR /&gt;basically you do something like this:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;set accoreexe="C:\Program Files\Autodesk\AutoCAD 2024\accoreconsole.exe"
set source="C:\YourDirectoryWithDWG's"
set script="C:\YourScript.scr"
FOR /f "delims=" %%f IN ('dir /b "%source%\*.dwg"') DO %accoreexe% /i %source%\%%f /s %script%&lt;/LI-CODE&gt;&lt;P&gt;I'm not sure the core console is capable of executing a data extraction, it is not 100% the same as the interfaced version of autocad and it's very difficult to find documentation about.&lt;BR /&gt;&lt;BR /&gt;If per chance the name of the dwg's is always the same you can just skip this all and just save all 3 .dwg's in the same dxe file. It is perfectly possible to run data extraction on multiple drawings at once.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 12:54:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-data-extract/m-p/12616056#M20109</guid>
      <dc:creator>Michiel.Valcke</dc:creator>
      <dc:date>2024-03-05T12:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD Data Extract</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-data-extract/m-p/12624131#M20110</link>
      <description>&lt;P&gt;&lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15017533"&gt;@barry_fletcher&lt;/a&gt;&lt;/SPAN&gt; &amp;nbsp;Did the information provided answer your question? If so, please use Accept Solution so that others may find this in the future. Thank you very much!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 15:03:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-data-extract/m-p/12624131#M20110</guid>
      <dc:creator>CGBenner</dc:creator>
      <dc:date>2024-03-07T15:03:27Z</dc:date>
    </item>
  </channel>
</rss>

