<?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: Export multiple layouts to dwg (model space) from multiple sheet files (dwg) in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12493682#M23199</link>
    <description>&lt;P&gt;I've never used acad on a mac. The LT versions that support lisp, only do basic lisp. My script uses Visual Lisp, the functions that start with "vl-, vlax-". So it won't run on LT, Mac or pc. You have to use the full version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Automatic Save is not a warning. AutoCAD saves the current dwg every 15 minutes (or whatever you have the interval set for).&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jan 2024 16:58:27 GMT</pubDate>
    <dc:creator>Ed__Jobe</dc:creator>
    <dc:date>2024-01-12T16:58:27Z</dc:date>
    <item>
      <title>Export multiple layouts to dwg (model space) from multiple sheet files (dwg)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12488064#M23182</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know of a workflow to export Autocad (paper space) layouts to dwg (model space) from multiple separate sheet dwg files?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The project is composed of multiple folders containing separate sheet files. The layouts show xref'd drawings from model space files contained in separate model folders. I can see how to export the layout from inside an individual sheet file but have been asked for model space versions of all of the layouts from all of the sheet files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im assuming this is only possible through a third party addon, any suggestions would be much appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 11:11:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12488064#M23182</guid>
      <dc:creator>neil96VHF</dc:creator>
      <dc:date>2024-01-10T11:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple layouts to dwg (model space) from multiple sheet files (dwg)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12488412#M23183</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/14612391"&gt;@neil96VHF&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone know of a workflow to export Autocad (paper space) layouts to dwg (model space) from multiple separate sheet dwg files?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Does the built-in EXPORTLAYOUT command not work for you by chance&amp;nbsp;&lt;A href="https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-8A07D165-559E-4DF2-B2A9-42BD6AE2DB70" target="_blank"&gt;https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-8A07D165-559E-4DF2-B2A9-42BD6AE2DB70&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 14:20:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12488412#M23183</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2024-01-10T14:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple layouts to dwg (model space) from multiple sheet files (dwg)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12488447#M23184</link>
      <description>&lt;P&gt;Yes it works for a single sheet file, Im looking for a way to automate the process across multiple sheet files? Ref: screen grabs from original message.&lt;/P&gt;&lt;P&gt;We submit entire drawing packages to clients with the potential for a package to be in excess of 30 layouts to export layouts one at a time is extremely time intensive.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 14:36:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12488447#M23184</guid>
      <dc:creator>neil96VHF</dc:creator>
      <dc:date>2024-01-10T14:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple layouts to dwg (model space) from multiple sheet files (dwg)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12489368#M23185</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/14612391"&gt;@neil96VHF&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Yes it works for a single sheet file, Im looking for a way to automate the process across multiple sheet files? Ref: screen grabs from original message.&lt;/P&gt;
&lt;P&gt;We submit entire drawing packages to clients with the potential for a package to be in excess of 30 layouts to export layouts one at a time is extremely time intensive.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So you know about it? or just tested it to find out about it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Autodesk has covered the topic in HELP, it leads to this page for me when I just explored it&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Automatically-export-multiple-layouts-to-separate-drawings.html" target="_blank" rel="noopener"&gt;https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Automatically-export-multiple-layouts-to-separate-drawings.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;which leads to this 3rd party resource&amp;nbsp;&lt;A href="https://apps.autodesk.com/ACD/en/Detail/Index?id=8797014408094829177&amp;amp;appLang=en&amp;amp;os=Win32_64&amp;amp;autostart=true" target="_blank" rel="noopener"&gt;https://apps.autodesk.com/ACD/en/Detail/Index?id=8797014408094829177&amp;amp;appLang=en&amp;amp;os=Win32_64&amp;amp;autostart=true&lt;/A&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;aka what you seek. It also explains you need to pick up a multi-DWG processor, either theirs on find something free on the web if Autodesk's &lt;A href="https://www.autodesk.com/support/technical/article/caas/tsarticles/ts/7xKPXzhEGzvnF4qzy2Ddi9.html" target="_blank" rel="noopener"&gt;Scriptpro&lt;/A&gt;&amp;nbsp; tool is not what you want either&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 21:39:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12489368#M23185</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2024-01-10T21:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple layouts to dwg (model space) from multiple sheet files (dwg)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12489401#M23186</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/37212"&gt;@pendean&lt;/a&gt;, I did discover the same article but assumed the addon it only works with a single Feb containing multiple layouts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll test it tomorrow with the batch function and hopefully reach the solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The last two links in your message point to the same add-on, is the scriptPro link meant to go somewhere else?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for all of your help!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 21:35:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12489401#M23186</guid>
      <dc:creator>neil96VHF</dc:creator>
      <dc:date>2024-01-10T21:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple layouts to dwg (model space) from multiple sheet files (dwg)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12489419#M23187</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/14612391"&gt;@neil96VHF&lt;/a&gt;&amp;nbsp;for the heads up, I fixed the link to ScriptPro.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/14612391"&gt;@neil96VHF&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;...but assumed the addon it only works with a single Feb containing multiple layouts. ...&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Indeed, that's what the product page says&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pendean_1-1704922948064.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1312784i31202CE96F2CDDE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pendean_1-1704922948064.png" alt="pendean_1-1704922948064.png" /&gt;&lt;/span&gt;&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>Wed, 10 Jan 2024 21:43:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12489419#M23187</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2024-01-10T21:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple layouts to dwg (model space) from multiple sheet files (dwg)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12489512#M23188</link>
      <description>&lt;P&gt;Thanks again Pendean,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ive downloaded and had a quick look but cant see a function in the smartBatch addon, did you include a link to the scriptPro because I need a script to run on the batch through smartBatch?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 23:11:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12489512#M23188</guid>
      <dc:creator>neil96VHF</dc:creator>
      <dc:date>2024-01-10T23:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple layouts to dwg (model space) from multiple sheet files (dwg)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12489596#M23189</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/37212"&gt;@pendean&lt;/a&gt;&amp;nbsp; was saying NOT to use ScriptPro. ScriptPro is a batch utility like smartBatch, but it can be slow, because it restarts AutoCAD for each dwg using the /p switch. It's simple and easy to use, but it has that one drawback.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 00:07:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12489596#M23189</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2024-01-11T00:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple layouts to dwg (model space) from multiple sheet files (dwg)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12490181#M23190</link>
      <description>&lt;P&gt;Ok, understood. Do I use smartBatch with LayoutToDwg or as a standalone? If so can you screen shot the bit of dialogue that enables me to do, what I'm trying to do?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 07:38:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12490181#M23190</guid>
      <dc:creator>neil96VHF</dc:creator>
      <dc:date>2024-01-11T07:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple layouts to dwg (model space) from multiple sheet files (dwg)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12491284#M23191</link>
      <description>&lt;P&gt;First, I misread &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/37212"&gt;@pendean&lt;/a&gt; comment about ScriptPro. Comparing it to smartBatch (which I don't have any experience with), ScriptPro is free. Although smartBatch is not free, it includes powerful purging tools, which saves you from writing your own scripts. Both work by executing an *.scr file on a dwg. You build a 'batch' by selecting dwgs with it's UI. Then the script is run on each file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LayoutsToDwgs is just a single AutoCAD command that you can write a script for. A &lt;A href="https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-95BB6824-0700-4019-9672-E6B502659E9E" target="_blank" rel="noopener"&gt;script&lt;/A&gt; is just what you would type at the command line. Since you can type lisp at the command line, a script can include lisp too. From what I read on Jimmy's website, this command creates a dwg with a single layout. It doesn't copy the layout contents to model space like you requested. But you can script that too. Just use the COPY command and then SCALE the layout using the viewport scale. It might be tricky though to get the layout contents to line up with the modelspace contents.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 15:54:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12491284#M23191</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2024-01-11T15:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple layouts to dwg (model space) from multiple sheet files (dwg)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12491399#M23192</link>
      <description>&lt;P&gt;Yes exactly, all I want to do is batch export layouts from a whole drawing package (folder). The built in ExportLayout command does exactly what I want on a single open file but has no batch option. I 'm sure, for someone who knows Lisp, writing a simple lisp routine for a single command is very basic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The workflow is: EXPORTLAYOUT at the command line &amp;gt; specify destination &amp;gt; save.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This results is the paper space layout being saved in model space in a separate file and location at 1:1 ie 594 x 841mm for A1 ect. See attached. There is no need to scale or purge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks to everyone who has taken time to respond to this ticket, your help is much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paper Space&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-01-11 at 16.20.11 1.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1313222i8128A1EAA9E1F5CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-01-11 at 16.20.11 1.png" alt="Screenshot 2024-01-11 at 16.20.11 1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Model Space&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-01-11 at 16.20.49.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1313225i48F76033F701AD8C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-01-11 at 16.20.49.png" alt="Screenshot 2024-01-11 at 16.20.49.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 16:31:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12491399#M23192</guid>
      <dc:creator>neil96VHF</dc:creator>
      <dc:date>2024-01-11T16:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple layouts to dwg (model space) from multiple sheet files (dwg)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12491436#M23193</link>
      <description>&lt;P&gt;To write a script for that, using the instructions I linked to previously, open Notepad and type what you would type at the command line. In lisp and scripts, a space equals [Enter]. Save it as an *.scr file. Then use ScriptPro to run the script file on a batch of dwgs.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 16:52:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12491436#M23193</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2024-01-11T16:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple layouts to dwg (model space) from multiple sheet files (dwg)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12491475#M23194</link>
      <description>&lt;P&gt;Thats really helpful, am I right in thinking that I'd need to include a line in the script file to handle the destination folder dialogue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On executing EXPORTLAYOUT at the command line you are taken to:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="neil96VHF_0-1704992287631.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1313238i817B0FEF9F70BA4F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="neil96VHF_0-1704992287631.png" alt="neil96VHF_0-1704992287631.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This save as dialogue:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="neil96VHF_1-1704992378684.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1313242iD64C840A5FFD9BF2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="neil96VHF_1-1704992378684.png" alt="neil96VHF_1-1704992378684.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Would it be possible to tell the script to save all of the batch files to a specified folder?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 17:02:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12491475#M23194</guid>
      <dc:creator>neil96VHF</dc:creator>
      <dc:date>2024-01-11T17:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple layouts to dwg (model space) from multiple sheet files (dwg)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12491636#M23195</link>
      <description>&lt;P&gt;You can't do a batch if you have to respond to dialogs. Set FILEDIA to 0. The easiest way is to just hard code the path to the folder to save to. Remember to set FILEDIA back to 1 at the end of the script. Here's a sample script. It saves each file to the same folder as the host dwg and suffixes the filename with the layout name. Save the contents to a scr file. Make sure that Notepad doesn't add txt to the end. Test it out on one dwg. Then run it in ScriptPro.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="lisp"&gt;;;; *********************
;;; setq global variables
;;; *********************
(vl-load-com)
(setvar "filedia" 0)
;;; get the application object
(setq *acadObj* (vlax-get-acad-object))
;;; get the currently active dwg
(setq *CurDoc* (vla-get-activedocument *acadObj*))
(setq f (vla-get-name *CurDoc*))
(setq layouts (vla-get-layouts *CurDoc*))
(vlax-for layout layouts
  (setq dwgpath (strcat (getvar "dwgprefix")
			(substr f 1 (+(strlen f)-4))
			"-"
  			(vla-get-name layout)
			".dwg"
		)
  )
  (command "EXPORTLAYOUT" dwgpath)
)
(setvar "filedia" 1)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 18:25:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12491636#M23195</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2024-01-11T18:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple layouts to dwg (model space) from multiple sheet files (dwg)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12492836#M23196</link>
      <description>&lt;P&gt;Thanks Ed,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ive tested the script you have provided which definitely did something but has returned a fail message and no additional dwg files. Please see attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the script meant to be saved as ANSI / .scr or .lsp?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for your time,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 10:13:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12492836#M23196</guid>
      <dc:creator>neil96VHF</dc:creator>
      <dc:date>2024-01-12T10:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple layouts to dwg (model space) from multiple sheet files (dwg)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12493479#M23197</link>
      <description>&lt;P&gt;Is that the log file from ScriptPro?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To save the file, copy the text to Notepad. Click File&amp;gt;Save and change the files of type to All Files, then change the extension to ".scr". If you don't change it to All Files, Notepad will add the txt ext and you end up with ExportLayouts.scr.txt.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Test the script in AutoCAD on one file. Open a project file and type SCRIPT, then browse the the scr file.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 15:30:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12493479#M23197</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2024-01-12T15:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple layouts to dwg (model space) from multiple sheet files (dwg)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12493652#M23198</link>
      <description>&lt;P&gt;Do script files work like that on lt mac?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="neil96VHF_0-1705076483488.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1313614i1B0F0BB5A9C51861/image-size/medium?v=v2&amp;amp;px=400" role="button" title="neil96VHF_0-1705076483488.png" alt="neil96VHF_0-1705076483488.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="neil96VHF_1-1705076533895.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1313615iC582B481B273FCBB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="neil96VHF_1-1705076533895.png" alt="neil96VHF_1-1705076533895.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Im getting this as a warning.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="neil96VHF_2-1705077572281.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1313619i6F197D72C5403D85/image-size/medium?v=v2&amp;amp;px=400" role="button" title="neil96VHF_2-1705077572281.png" alt="neil96VHF_2-1705077572281.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tested with ScriptPro on a pc with full version but dont have access to it right now. The mac allows me to put script command in and locate the file though so should work right?&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>Fri, 12 Jan 2024 16:41:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12493652#M23198</guid>
      <dc:creator>neil96VHF</dc:creator>
      <dc:date>2024-01-12T16:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple layouts to dwg (model space) from multiple sheet files (dwg)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12493682#M23199</link>
      <description>&lt;P&gt;I've never used acad on a mac. The LT versions that support lisp, only do basic lisp. My script uses Visual Lisp, the functions that start with "vl-, vlax-". So it won't run on LT, Mac or pc. You have to use the full version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Automatic Save is not a warning. AutoCAD saves the current dwg every 15 minutes (or whatever you have the interval set for).&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 16:58:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12493682#M23199</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2024-01-12T16:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple layouts to dwg (model space) from multiple sheet files (dwg)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12497019#M23200</link>
      <description>&lt;P&gt;Hi Ed.Jobe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tested the script file on a single file on both AutoCad and AutoCad LT (PC) and both have worked. Following this I have run the script through scriptPro on a small batch of files. The app ran and has reported a status of done, as opposed to the previous attempt of status failed. Could it be that I am not using scriptPro right?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you ran run the script through scriptPro yourself?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2024 09:51:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12497019#M23200</guid>
      <dc:creator>neil96VHF</dc:creator>
      <dc:date>2024-01-15T09:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Export multiple layouts to dwg (model space) from multiple sheet files (dwg)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12498227#M23201</link>
      <description>&lt;P&gt;Yes, I tested it on ScriptPro with a dwg that had a dozen layouts. I'm not sure why it failed, since I don't know what your did. Maybe it failed on Mac? But at least it's working now.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2024 21:02:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/export-multiple-layouts-to-dwg-model-space-from-multiple-sheet/m-p/12498227#M23201</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2024-01-15T21:02:14Z</dc:date>
    </item>
  </channel>
</rss>

