<?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) : AutoCAD Programming</title>
  <link>https://www.cadforum.cz/forum_en/</link>
  <description><![CDATA[This is an XML content feed of; CAD Forum discussion (EN) : AutoCAD : AutoCAD Programming]]></description>
  <pubDate>Wed, 20 May 2026 06:21:50 +0000</pubDate>
  <lastBuildDate>Mon, 05 Aug 2013 21:09:08 +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=9456</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[AutoCAD Programming : Wow.... I expect that would be...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=9456&amp;PID=24135&amp;title=autocad-programming#24135</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> 9456<br /><strong>Posted:</strong> 05.Aug.2013 at 21:09<br /><br />Wow....&nbsp; I expect that would be very challenging.&nbsp; It's easy to get a Lisp routine to find where things <EM>are</EM>, but to find all the places where things <EM>are not</EM> is another matter altogether.<DIV>&nbsp;</DIV><DIV>One possible approach would be to have it look at a rectangular area (i.e. a Crossing-type selection) the size of the room you want to fit in, starting at a corner of the drawing or of some designated more-limited area, and move along by some increment (a foot? an inch? some fraction of the room size?)&nbsp;looking at the same size area again, and when it gets to the opposite edge, go back and do another row or column of&nbsp;checks, stepped up or over by the same increment from the last row or column, until it covers the whole drawing/area.&nbsp; It could limit the entity types it looks for to only those with which you might draw building elements, and ignore other things like Text that might be floating out in&nbsp;open areas but that wouldn't be considered to make those areas unavailable.&nbsp; Anywhere it <EM>didn't find anything</EM> of the applicable kind(s) within such an area, it could either place a Block, or put the location of the middle of the area into a list, or something.&nbsp; With a small stepping increment, that could be a lot of indicators, or a very long list, though&nbsp;ways could probably be found to weed out intermediate ones and leave only those defining overall areas, somehow.</DIV><DIV>&nbsp;</DIV><DIV>That much may be tedious for it to plow through, but perhaps not too difficult.&nbsp; Complications arise with other considerations.&nbsp; If you want, for example,&nbsp;10' x 12' rooms, you would presumably need to do the same&nbsp;kind of search&nbsp;<EM>twice</EM>, once with the more horizontal orientation and once with the more vertical, or you could well miss some possibilities.&nbsp; If the perimeters of potentially available areas are not always drawn orthogonally, or if the rooms could be oriented diagonally if necessary to fit them in, it would need&nbsp;more sophisticated methods, or you'd just miss a lot of possible areas.&nbsp; If the area matters but not the proportions (within limits), even when limited to rectangular areas, it would need to run a <EM>bunch</EM> of searches at different proportions.&nbsp; If the rooms could be <EM>non-rectangular</EM>, that would add further challenges to finding some of the available areas, e.g.&nbsp;if an L-shaped room is allowable, you would want it to look for a Fence-type selection, and would need to run it <EM>four</EM> times with a symmetrical L, or <EM>eight</EM> times with an asymmetrical one, to cover all the possibilities <EM>just</EM> for orthogonal orientations of a defined-shape L.&nbsp; If the proportions of the legs of&nbsp;an L could be varied as long as the total area is right, I'm not sure how it could account for all the possibilities.&nbsp; If you need it to account for <EM>corridors</EM> to access the rooms....</DIV><DIV>&nbsp;</DIV><DIV>Some definition or limitation of the range of parameters would at least be a place to start.</DIV>]]>
   </description>
   <pubDate>Mon, 05 Aug 2013 21:09:08 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=9456&amp;PID=24135&amp;title=autocad-programming#24135</guid>
  </item> 
  <item>
   <title><![CDATA[AutoCAD Programming : I&amp;#039;m new to AutoCAD programming...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=9456&amp;PID=24132&amp;title=autocad-programming#24132</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=395408">darkness.throne</a><br /><strong>Subject:</strong> 9456<br /><strong>Posted:</strong> 05.Aug.2013 at 17:14<br /><br /><p><font face="Arial, Helvetica, sans-serif">I'm new to AutoCAD programming and I have some questions about it.&nbsp;</font></p><p><font face="Arial, Helvetica, sans-serif">I want to create an app or pluging (or somethings else - I'm not sure) in AutoCAD that can get a plan of a buildings then tell me where in the plan I can put bed rooms (with specific size)&nbsp;to get more rooms in the plan-- the program should recognize free spaces automatically</font><font face="Arial, Helvetica, sans-serif">. I'm not sure if it's possible or not, but I'm glad if anyone can guide me for answering that or tell what to do or where to start. I heard Visual Lisp can do that, I it correct?<br></font></p><p><font face="Arial, Helvetica, sans-serif">With Thanks.<br></font></p>]]>
   </description>
   <pubDate>Mon, 05 Aug 2013 17:14:18 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=9456&amp;PID=24132&amp;title=autocad-programming#24132</guid>
  </item> 
 </channel>
</rss>