<?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: Stacking blocks end to end vertically in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/stacking-blocks-end-to-end-vertically/m-p/8348000#M124865</link>
    <description>&lt;P&gt;Here you go.&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;ken&lt;/P&gt;</description>
    <pubDate>Sat, 20 Oct 2018 20:50:55 GMT</pubDate>
    <dc:creator>ironchef31</dc:creator>
    <dc:date>2018-10-20T20:50:55Z</dc:date>
    <item>
      <title>Stacking blocks end to end vertically</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/stacking-blocks-end-to-end-vertically/m-p/6796998#M124861</link>
      <description>&lt;P&gt;Sometimes I have drawings where there are gaps between blocks or they overlap.&lt;/P&gt;&lt;P&gt;I need to come up with some code that will let me window a group of blocks and stack them end to end from top to bottom.&lt;/P&gt;&lt;P&gt;The blocks must retain the same order vertically. The horizontal alignment can be at the insertion points (have the same X coordinate).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before I start writing code, I was wondering if someone has some code that will get me mostly there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 23:01:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/stacking-blocks-end-to-end-vertically/m-p/6796998#M124861</guid>
      <dc:creator>ironchef31</dc:creator>
      <dc:date>2017-01-10T23:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Stacking blocks end to end vertically</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/stacking-blocks-end-to-end-vertically/m-p/6797556#M124862</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Most of that would be reasonably easy; the interesting part is detecting where is the end of a block.&lt;/P&gt;&lt;P&gt;I see three ways:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A) the blocks are known a priori to be the same size, for example coming from a known symbol library&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;B) the size of the block is recorded in the block when building it&lt;/P&gt;&lt;P&gt;- encoded in the block name, or in some hidden data: attributes, Ldata, Xdata, whatever.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C) the size is found by using the bounding box of the block&lt;/P&gt;&lt;P&gt;- general-purpose, but you occasionally get runaway bounding boxes depending on the contents of the block.&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, 11 Jan 2017 08:51:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/stacking-blocks-end-to-end-vertically/m-p/6797556#M124862</guid>
      <dc:creator>martti.halminen</dc:creator>
      <dc:date>2017-01-11T08:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Stacking blocks end to end vertically</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/stacking-blocks-end-to-end-vertically/m-p/6799706#M124863</link>
      <description>&lt;P&gt;I just finished the code. &amp;nbsp;it's not the most elegant but it works.&lt;/P&gt;&lt;P&gt;I opted to use the bounding box method.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 22:32:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/stacking-blocks-end-to-end-vertically/m-p/6799706#M124863</guid>
      <dc:creator>ironchef31</dc:creator>
      <dc:date>2017-01-11T22:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Stacking blocks end to end vertically</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/stacking-blocks-end-to-end-vertically/m-p/8347985#M124864</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm also similar situation. Could you please provide me the lisp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sai.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Oct 2018 20:36:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/stacking-blocks-end-to-end-vertically/m-p/8347985#M124864</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-20T20:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Stacking blocks end to end vertically</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/stacking-blocks-end-to-end-vertically/m-p/8348000#M124865</link>
      <description>&lt;P&gt;Here you go.&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;ken&lt;/P&gt;</description>
      <pubDate>Sat, 20 Oct 2018 20:50:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/stacking-blocks-end-to-end-vertically/m-p/8348000#M124865</guid>
      <dc:creator>ironchef31</dc:creator>
      <dc:date>2018-10-20T20:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Stacking blocks end to end vertically</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/stacking-blocks-end-to-end-vertically/m-p/8348013#M124866</link>
      <description>&lt;P&gt;Thank you so much&lt;/P&gt;</description>
      <pubDate>Sat, 20 Oct 2018 21:31:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/stacking-blocks-end-to-end-vertically/m-p/8348013#M124866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-20T21:31:19Z</dc:date>
    </item>
  </channel>
</rss>

