<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>CAD Forum discussion (EN) : Help Combining files</title>
  <link>https://www.cadforum.cz/forum_en/</link>
  <description><![CDATA[This is an XML content feed of; CAD Forum discussion (EN) : AutoCAD : Help Combining files]]></description>
  <pubDate>Fri, 29 May 2026 18:06:14 +0000</pubDate>
  <lastBuildDate>Mon, 09 Mar 2020 15:08:07 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://www.cadforum.cz/forum_en/RSS_post_feed.asp?TID=13348</WebWizForums:feedURL>
  <image>
   <title><![CDATA[CAD Forum discussion (EN)]]></title>
   <url>https://www.cadforum.cz/forum_en/forum_images/web_wiz_forums.png</url>
   <link>https://www.cadforum.cz/forum_en/</link>
  </image>
  <item>
   <title><![CDATA[Help Combining files :   philippe JOSEPH wrote:Hello...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13348&amp;PID=37455&amp;title=help-combining-files#37455</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=832157">AGST</a><br /><strong>Subject:</strong> 13348<br /><strong>Posted:</strong> 09.Mar.2020 at 15:08<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by philippe JOSEPH" alt="Originally posted by philippe JOSEPH" style="vertical-align: text-bottom;" /> <strong>philippe JOSEPH wrote:</strong><br /><br />Hello AGST, try this command : +PUBLISH ( GB ) , +PUBLICAR ( POR ).<div>It can be difficult to get it well and in any case set correctly the print settings at least of the first page.</div></td></tr></table><div><br></div><div>Hello Joseph, that method only prints one sheet with all the drawings on it, i need a routine that marks each drawing as an individual window, so that when i plot, each drawing is considered as a page in the PDF.</div><div><br></div><div>The drawings are evenly spaced in the main file, as a result of a merge made from the routine above.</div>]]>
   </description>
   <pubDate>Mon, 09 Mar 2020 15:08:07 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13348&amp;PID=37455&amp;title=help-combining-files#37455</guid>
  </item> 
  <item>
   <title><![CDATA[Help Combining files : Hello AGST, try this command :...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13348&amp;PID=37454&amp;title=help-combining-files#37454</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=175428">philippe JOSEPH</a><br /><strong>Subject:</strong> 13348<br /><strong>Posted:</strong> 09.Mar.2020 at 12:58<br /><br />Hello AGST, try this command : +PUBLISH ( GB ) , +PUBLICAR ( POR ).<div>It can be difficult to get it well and in any case set correctly the print settings at least of the first page.</div>]]>
   </description>
   <pubDate>Mon, 09 Mar 2020 12:58:33 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13348&amp;PID=37454&amp;title=help-combining-files#37454</guid>
  </item> 
  <item>
   <title><![CDATA[Help Combining files :   Kent Cooper wrote:Try this...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13348&amp;PID=37453&amp;title=help-combining-files#37453</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=832157">AGST</a><br /><strong>Subject:</strong> 13348<br /><strong>Posted:</strong> 09.Mar.2020 at 12:00<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Kent Cooper" alt="Originally posted by Kent Cooper" style="vertical-align: text-bottom;" /> <strong>Kent Cooper wrote:</strong><br /><br />Try this -- <i>very minimally tested</i>.&nbsp; It complains if drawings contain Xlines or Rays &#091;it can't find their extents&#093; or Xrefs &#091;it doesn't like Inserting&#093;, but in the absence of such things, it seems to work.<br></td></tr></table><div><br></div><div>Hello Kent, i hope the new year is running well for you.</div><div><br></div><div>I'm here asking for your help once more, so i thank you in advance for your time.</div><div><br></div><div>Problem:&nbsp;</div><div><br></div><div>Let's suppose i have a DWG with all the drawings inside him, but when i plot the file to a PDF, i need it to output one drawing per page, instead of the whole drawing in one sheet. Is it possible?</div><div><br></div><div>At the moment, i need to select each drawing manually and add it as windows to the final plot file. Using this method i'm prone to mistakes due the monotous task of selecting alot of them manually.</div><div><br></div><div>I hope you can help me, thank you once again for your time.</div>]]>
   </description>
   <pubDate>Mon, 09 Mar 2020 12:00:04 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13348&amp;PID=37453&amp;title=help-combining-files#37453</guid>
  </item> 
  <item>
   <title><![CDATA[Help Combining files :   Kent Cooper wrote:Try this...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13348&amp;PID=37337&amp;title=help-combining-files#37337</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=832157">AGST</a><br /><strong>Subject:</strong> 13348<br /><strong>Posted:</strong> 30.Dec.2019 at 09:27<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Kent Cooper" alt="Originally posted by Kent Cooper" style="vertical-align: text-bottom;" /> <strong>Kent Cooper wrote:</strong><br /><br />Try this -- <i>very minimally tested</i>.&nbsp; It complains if drawings contain Xlines or Rays &#091;it can't find their extents&#093; or Xrefs &#091;it doesn't like Inserting&#093;, but in the absence of such things, it seems to work.<br></td></tr></table><div><br></div><div>Hello Kent,</div><div><br></div><div>I can't thank you enough for your help...</div><div>It's perfect!!! It's exactly what i needed!!!</div><div>You just saved my life!!!</div><div><br></div><div>I wish you the best!!!</div><div>And a happy new year!!!</div>]]>
   </description>
   <pubDate>Mon, 30 Dec 2019 09:27:40 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13348&amp;PID=37337&amp;title=help-combining-files#37337</guid>
  </item> 
  <item>
   <title><![CDATA[Help Combining files : Try this -- very minimally tested....]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13348&amp;PID=37333&amp;title=help-combining-files#37333</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=353260">Kent Cooper</a><br /><strong>Subject:</strong> 13348<br /><strong>Posted:</strong> 27.Dec.2019 at 21:09<br /><br />Try this -- <i>very minimally tested</i>.&nbsp; It complains if drawings contain Xlines or Rays &#091;it can't find their extents&#093; or Xrefs &#091;it doesn't like Inserting&#093;, but in the absence of such things, it seems to work.<div><br></div><div><div>(vl-load-com)</div><div>(defun C:BC (/ blkfolder space nextUL colwd colUL blkLL blkUR blkwd blkht)</div><div>&nbsp; (setq osm (getvar 'osmode))</div><div>&nbsp; (setvar 'osmode 0)</div><div>&nbsp; (alert "Pick OK here, then double-click any file in desired folder: ")</div><div>&nbsp; (setq</div><div>&nbsp; &nbsp; blkfolder (getfiled "Find folder" "" "dwg" 0)</div><div>&nbsp; &nbsp; blkfolder (substr blkfolder 1 (1+ (vl-string-position 92 blkfolder 1 T))); path without dwg name</div><div>&nbsp; &nbsp; space 100 ; between blocks and min. from limits &lt;------ set as desired</div><div>&nbsp; &nbsp; colUL (list space (- space) 0); upper left of first column &#091;one space-width to right of and below 0,0&#093;</div><div>&nbsp; &nbsp; nextUL colUL ; for first Block</div><div>&nbsp; &nbsp; rowno 1</div><div>&nbsp; &nbsp; colwd 0 ; width of widest block in column &#091;to set X coordinate of next column&#093;</div><div>&nbsp; ); end setq</div><div>&nbsp; (foreach blk (vl-directory-files blkfolder "*.dwg" 1)</div><div>&nbsp; &nbsp; (command "_.insert" (strcat blkfolder blk) (getvar 'viewctr) "" "" "")</div><div>&nbsp; &nbsp; (vla-getboundingbox (vlax-ename-&gt;vla-object (entlast)) 'minpt 'maxpt)</div><div>&nbsp; &nbsp; (setq</div><div>&nbsp; &nbsp; &nbsp; blkLL (vlax-safearray-&gt;list minpt)</div><div>&nbsp; &nbsp; &nbsp; blkUR (vlax-safearray-&gt;list maxpt)</div><div>&nbsp; &nbsp; &nbsp; blkwd (- (car blkUR) (car blkLL))</div><div>&nbsp; &nbsp; &nbsp; blkht (- (cadr blkUR) (cadr blkLL))</div><div>&nbsp; &nbsp; ); setq</div><div>&nbsp; &nbsp; (if (= rowno 11)</div><div>&nbsp; &nbsp; &nbsp; (setq ; then - start new column to right of previous column</div><div>&nbsp; &nbsp; &nbsp; &nbsp; colUL (polar colUL 0 (+ colwd space))</div><div>&nbsp; &nbsp; &nbsp; &nbsp; nextUL colUL</div><div>&nbsp; &nbsp; &nbsp; &nbsp; colwd 0</div><div>&nbsp; &nbsp; &nbsp; &nbsp; rowno 1</div><div>&nbsp; &nbsp; &nbsp; ); setq</div><div>&nbsp; &nbsp; ); if - no else &#091;next in current column&#093;</div><div>&nbsp; &nbsp; (command</div><div>&nbsp; &nbsp; &nbsp; "_.zoom" "_object" (entlast) ""</div><div>&nbsp; &nbsp; &nbsp; "_.move" (entlast) "" (list (car blkLL) (cadr blkUR)) nextUL</div><div>&nbsp; &nbsp; ); command</div><div>&nbsp; &nbsp; (setq</div><div>&nbsp; &nbsp; &nbsp; nextUL (polar nextUL (* pi 1.5) (+ blkht space))</div><div>&nbsp; &nbsp; &nbsp; rowno (1+ rowno)</div><div>&nbsp; &nbsp; &nbsp; colwd (max blkwd colwd)</div><div>&nbsp; &nbsp; ); setq</div><div>&nbsp; ); foreach</div><div>&nbsp; (setvar 'osmode osm)</div><div>&nbsp; (command "_.zoom" "_extents")</div><div>&nbsp; (princ)</div><div>); defun</div></div>]]>
   </description>
   <pubDate>Fri, 27 Dec 2019 21:09:11 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13348&amp;PID=37333&amp;title=help-combining-files#37333</guid>
  </item> 
  <item>
   <title><![CDATA[Help Combining files :   Kent Cooper wrote:That shouldn&amp;#039;t...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13348&amp;PID=37332&amp;title=help-combining-files#37332</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=832157">AGST</a><br /><strong>Subject:</strong> 13348<br /><strong>Posted:</strong> 27.Dec.2019 at 14:48<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Kent Cooper" alt="Originally posted by Kent Cooper" style="vertical-align: text-bottom;" /> <strong>Kent Cooper wrote:</strong><br /><br />That shouldn't be difficult, but first:<div><br></div><div>How should the <i>location</i> of the first one be determined?&nbsp; Ask the User?&nbsp; Something in relation to the drawing limits?&nbsp; Some fixed location every time?</div></td></tr></table><div><br></div><div>Thank you for the quick reply Kent.</div><div><br></div><div>The location of the first one doesn't matter, it can even start at (x=0,y=0), as long as the imported DWG's follow the disposition from top to bottom and left to right and mantain 100 units between each one (horizontally and vertically).</div><div><br></div><div>Vertically a max of 10 rows, then it starts another column from the top.</div><div><br></div><div>Thank you in advance for your time.</div><span style="font-size:10px"><br /><br />Edited by AGST - 27.Dec.2019 at 14:49</span>]]>
   </description>
   <pubDate>Fri, 27 Dec 2019 14:48:13 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13348&amp;PID=37332&amp;title=help-combining-files#37332</guid>
  </item> 
  <item>
   <title><![CDATA[Help Combining files : That shouldn&amp;#039;t be difficult,...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13348&amp;PID=37331&amp;title=help-combining-files#37331</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=353260">Kent Cooper</a><br /><strong>Subject:</strong> 13348<br /><strong>Posted:</strong> 27.Dec.2019 at 14:14<br /><br />That shouldn't be difficult, but first:<div><br></div><div>How should the <i>location</i> of the first one be determined?&nbsp; Ask the User?&nbsp; Something in relation to the drawing limits?&nbsp; Some fixed location every time?</div>]]>
   </description>
   <pubDate>Fri, 27 Dec 2019 14:14:58 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13348&amp;PID=37331&amp;title=help-combining-files#37331</guid>
  </item> 
  <item>
   <title><![CDATA[Help Combining files : Hi guys!!!I seek your help please!!The...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13348&amp;PID=37329&amp;title=help-combining-files#37329</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=832157">AGST</a><br /><strong>Subject:</strong> 13348<br /><strong>Posted:</strong> 27.Dec.2019 at 10:51<br /><br />Hi guys!!!<div><br></div><div>I seek your help please!!</div><div><br></div><div>The code that Kent so kindly provided, sorts the DWG's from bottom left to top in a single column.</div><div><br></div><div>I need to modify it, so it sorts from top left to bottom and left to right in 10 rows per column.</div><div><br></div><div>Here's the code:</div><div><br></div><div><div>(defun C:BC (/ blkfolder space nextLL rowht rowL blkLL blkUR objwid objht)</div><div>&nbsp; (vl-load-com)</div><div>&nbsp; (setvar 'osmode 0)</div><div>&nbsp; (alert "Pick OK here, then double-click any file in desired folder: ")</div><div>&nbsp; (setq</div><div>&nbsp; &nbsp; blkfolder (getfiled "Find folder" "" "dwg" 0)</div><div>&nbsp; &nbsp; blkfolder (substr blkfolder 1 (1+ (vl-string-position 92 blkfolder 1 T))); path without dwg name</div><div>&nbsp; &nbsp; space 100 ; between blocks and min. from limits &lt;------ set as desired</div><div>&nbsp; &nbsp; nextLL (mapcar '+ (getvar 'limmin) (list space space 0)); lower left of next block</div><div>&nbsp; &nbsp; rowht 0 ; height of tallest block in row</div><div>&nbsp; &nbsp; rowL nextLL; left end of baseline of row</div><div>&nbsp; ); end setq</div><div>&nbsp; (foreach blk (vl-directory-files blkfolder "*.dwg" 1)</div><div>&nbsp; &nbsp; (command "_.insert" (strcat blkfolder blk) (getvar 'viewctr) "" "" "")</div><div>&nbsp; &nbsp; (vla-getboundingbox (vlax-ename-&gt;vla-object (entlast)) 'minpt 'maxpt)</div><div>&nbsp; &nbsp; (setq</div><div>&nbsp; &nbsp; &nbsp; blkLL (vlax-safearray-&gt;list minpt)</div><div>&nbsp; &nbsp; &nbsp; blkUR (vlax-safearray-&gt;list maxpt)</div><div>&nbsp; &nbsp; &nbsp; objwid (- (car blkUR) (car blkLL))</div><div>&nbsp; &nbsp; &nbsp; objht (- (cadr blkUR) (cadr blkLL))</div><div>&nbsp; &nbsp; )</div><div>&nbsp; &nbsp; (if (&gt; (+ (car nextLL) objwid space) (car (getvar 'limmax)))</div><div>&nbsp; &nbsp; &nbsp; (setq ; then - start new row above previous row</div><div>&nbsp; &nbsp; &nbsp; &nbsp; nextLL (polar rowL (/ pi 2) (+ rowht space))</div><div>&nbsp; &nbsp; &nbsp; &nbsp; rowL nextLL</div><div>&nbsp; &nbsp; &nbsp; &nbsp; rowht 0</div><div>&nbsp; &nbsp; &nbsp; ); end setq</div><div>&nbsp; &nbsp; ); end if - no else &#091;next in current row&#093;</div><div>&nbsp; &nbsp; (command "_.move" (entlast) "" blkLL nextLL)</div><div>&nbsp; &nbsp; (setq nextLL (polar nextLL 0 (+ objwid space)))</div><div>&nbsp; &nbsp; (if (&gt; objht rowht) (setq rowht objht))</div><div>&nbsp; ); end foreach</div><div>); end defun</div></div><div><br></div><div>Can anyone give some help please?</div><div><br></div><div>Thank you in advance!</div>]]>
   </description>
   <pubDate>Fri, 27 Dec 2019 10:51:48 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13348&amp;PID=37329&amp;title=help-combining-files#37329</guid>
  </item> 
  <item>
   <title><![CDATA[Help Combining files :   Kent Cooper wrote:You may be...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13348&amp;PID=37327&amp;title=help-combining-files#37327</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=832157">AGST</a><br /><strong>Subject:</strong> 13348<br /><strong>Posted:</strong> 26.Dec.2019 at 13:00<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Kent Cooper" alt="Originally posted by Kent Cooper" style="vertical-align: text-bottom;" /> <strong>Kent Cooper wrote:</strong><br /><br />You may be able to use <b>BlockChart.lsp</b> with its <b>BC</b> command, available <a href="" target="_blank" rel="nofollow"><https: forums.autodesk.com="" t5="" visual-lisp-autolisp-and-general="" help-to-update-2-useful-lisp="" m-p="" 8778578="" highlight="" true#m384961"="">&gt;here&lt;</https:></a>.&nbsp; It goes from lower left in horizontal rows, and builds upward from there, but could be modified to do the sequence you describe instead, and to space things farther apart than it does &#091;you can do that yourself by changing the 1 value assigned to the 'space' variable&#093;, if it otherwise does what you want.&nbsp; It needs you to have all those drawings in one folder, with no other drawing files in that folder, and the current drawing limits need to be wide enough in the X direction for a reasonable number of them to make a row, or the whole collection will be stacked in one tall column.<div><br></div><div>But I do wonder:&nbsp; do any of your drawings have <b>Xref</b>'s in them?&nbsp; I can imagine that being a problem....</div></td></tr></table><div><br></div><div>Hi Kent, the BlockChart.lsp worked like a charm, it did in fact a single column of all the files, can you help me modify the code so that a new column is used when it reaches 10 rows?</div><div><br></div><div>Ty in advance</div>]]>
   </description>
   <pubDate>Thu, 26 Dec 2019 13:00:16 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13348&amp;PID=37327&amp;title=help-combining-files#37327</guid>
  </item> 
  <item>
   <title><![CDATA[Help Combining files :   John Connor wrote:Your client...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13348&amp;PID=37326&amp;title=help-combining-files#37326</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=832157">AGST</a><br /><strong>Subject:</strong> 13348<br /><strong>Posted:</strong> 26.Dec.2019 at 08:44<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by John Connor" alt="Originally posted by John Connor" style="vertical-align: text-bottom;" /> <strong>John Connor wrote:</strong><br /><br />Your client will be looking at postage stamps when you're done.</td></tr></table><div><br></div><div>Don't ask me why, but it's a demand they make!</div>]]>
   </description>
   <pubDate>Thu, 26 Dec 2019 08:44:44 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13348&amp;PID=37326&amp;title=help-combining-files#37326</guid>
  </item> 
 </channel>
</rss>