<?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) : AUTOAREA LISP</title>
  <link>https://www.cadforum.cz/forum_en/</link>
  <description><![CDATA[This is an XML content feed of; CAD Forum discussion (EN) : CAD - general : AUTOAREA LISP]]></description>
  <pubDate>Sat, 23 May 2026 17:00:25 +0000</pubDate>
  <lastBuildDate>Fri, 15 May 2015 18:23:00 +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=11169</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[AUTOAREA LISP :  Thanks Robert. But ideally it...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11169&amp;PID=29771&amp;title=autoarea-lisp#29771</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=559804">MK2015</a><br /><strong>Subject:</strong> 11169<br /><strong>Posted:</strong> 15.May.2015 at 18:23<br /><br />Thanks Robert. But ideally it would be nice if I could get my old routine to work. You see I need the area in acres and hectares simultaneously. And it's also very convenient because it does not require a closed polyline.]]>
   </description>
   <pubDate>Fri, 15 May 2015 18:23:00 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11169&amp;PID=29771&amp;title=autoarea-lisp#29771</guid>
  </item> 
  <item>
   <title><![CDATA[AUTOAREA LISP : Also, lee-mac has a few routines...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11169&amp;PID=29767&amp;title=autoarea-lisp#29767</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=413522">Robert_D</a><br /><strong>Subject:</strong> 11169<br /><strong>Posted:</strong> 14.May.2015 at 21:11<br /><br />Also, lee-mac has a few routines which may (?) be of interest:<br>http://www.lee-mac.com/areastofield.html<br>http://www.lee-mac.com/arealabel.html<br>http://www.lee-mac.com/areafieldtoattribute.html<br>]]>
   </description>
   <pubDate>Thu, 14 May 2015 21:11:15 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11169&amp;PID=29767&amp;title=autoarea-lisp#29767</guid>
  </item> 
  <item>
   <title><![CDATA[AUTOAREA LISP :   MK2015 wrote: 1).How do I...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11169&amp;PID=29766&amp;title=autoarea-lisp#29766</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=413522">Robert_D</a><br /><strong>Subject:</strong> 11169<br /><strong>Posted:</strong> 14.May.2015 at 21:00<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by MK2015" alt="Originally posted by MK2015" style="vertical-align: text-bottom;" /> <strong>MK2015 wrote:</strong><br /><br />1).How do I go to 2 decimal places?&nbsp; But again my old one was ideal as I also require area in hectares...</td></tr></table>Hmm, don't know about the decimal places, may play around if I get time.<br>Hectares display correctly if you replace (getvar "area") 144)) with (getvar "area") 15500031.0001)).<br>]]>
   </description>
   <pubDate>Thu, 14 May 2015 21:00:56 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11169&amp;PID=29766&amp;title=autoarea-lisp#29766</guid>
  </item> 
  <item>
   <title><![CDATA[AUTOAREA LISP :  1) Yes, thanks. How do I go...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11169&amp;PID=29765&amp;title=autoarea-lisp#29765</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=559804">MK2015</a><br /><strong>Subject:</strong> 11169<br /><strong>Posted:</strong> 14.May.2015 at 19:52<br /><br />1) Yes, thanks. How do I go to 2 decimal places?&nbsp; But again my old one was ideal as I also require area in hectares.<div></div><div>2.) My old Autoarea.lsp doesn't require a closed polyline and that's what makes it so convenient. (It creates a temporary closed polyline&nbsp;by itself&nbsp;and then deletes it)</div>]]>
   </description>
   <pubDate>Thu, 14 May 2015 19:52:29 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11169&amp;PID=29765&amp;title=autoarea-lisp#29765</guid>
  </item> 
  <item>
   <title><![CDATA[AUTOAREA LISP : 1) You could modify the routine....]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11169&amp;PID=29764&amp;title=autoarea-lisp#29764</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=413522">Robert_D</a><br /><strong>Subject:</strong> 11169<br /><strong>Posted:</strong> 14.May.2015 at 18:21<br /><br />1) You could modify the routine. You'll notice (getvar "area") 144)) where it divides the default inches and divides by 144 for ft2.<br>2) I would think all routines would require a closed polyline.<br>]]>
   </description>
   <pubDate>Thu, 14 May 2015 18:21:13 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11169&amp;PID=29764&amp;title=autoarea-lisp#29764</guid>
  </item> 
  <item>
   <title><![CDATA[AUTOAREA LISP :  Robert:Thanks, but this one...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11169&amp;PID=29763&amp;title=autoarea-lisp#29763</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=559804">MK2015</a><br /><strong>Subject:</strong> 11169<br /><strong>Posted:</strong> 14.May.2015 at 17:59<br /><br />Robert:<div>Thanks, but this one doesn't work for us mainly for these 2 reasons:</div><div>- I need the area in Acres and Hectares, not square feet</div><div>-&nbsp;This requires a closed polyline and we are always dealing with cadastral mapping which is made up of lines or polylines. I realize I could use the boundary command, but this creates an extra step.</div><div>&nbsp;</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Thu, 14 May 2015 17:59:38 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11169&amp;PID=29763&amp;title=autoarea-lisp#29763</guid>
  </item> 
  <item>
   <title><![CDATA[AUTOAREA LISP : A similar AREA2.LSP you can try:;;;...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11169&amp;PID=29755&amp;title=autoarea-lisp#29755</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=413522">Robert_D</a><br /><strong>Subject:</strong> 11169<br /><strong>Posted:</strong> 14.May.2015 at 16:53<br /><br />A similar AREA2.LSP you can try:<br><br>;;;&nbsp; places area at specified point<br>(defun c:area2 (/ olderr en el hlt areatxt pt1)<br>&nbsp; (setq olderr *error*)<br>&nbsp; (defun *error* (str)<br>&nbsp;&nbsp;&nbsp; (if&nbsp;&nbsp;&nbsp; (= str "Function cancelled")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (princ)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (princ (strcat "Error: " str))&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ;if<br>&nbsp;&nbsp;&nbsp; (if hlt<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (redraw (car en) 4))<br>&nbsp;&nbsp;&nbsp; (setvar "cmdecho" 1)<br>&nbsp;&nbsp;&nbsp; (setq *error* olderr)<br>&nbsp;&nbsp;&nbsp; )&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ;defun error<br>&nbsp; (setq en 1)<br>&nbsp; (setvar "cmdecho" 0)<br>&nbsp; (while en<br>&nbsp;&nbsp;&nbsp; (while (not&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ;make sure user selects an object<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; (setq en (entsel "\nSelect object or &#091;Escape&#093; to quit "))<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; )<br>&nbsp;&nbsp;&nbsp;&nbsp; )<br>&nbsp;&nbsp;&nbsp; (setq hlt 1)<br>&nbsp;&nbsp;&nbsp; (redraw (car en) 3)<br>&nbsp;&nbsp;&nbsp; (setq el (entget (car en)))<br>&nbsp;&nbsp;&nbsp; (if&nbsp;&nbsp;&nbsp; (or<br>&nbsp;&nbsp;&nbsp; &nbsp; (= (cdr (assoc 0 el)) "LWPOLYLINE")<br>&nbsp;&nbsp;&nbsp; &nbsp; (= (cdr (assoc 0 el)) "CIRCLE")<br>&nbsp;&nbsp;&nbsp; &nbsp; (= (cdr (assoc 0 el)) "ELLIPSE")<br>&nbsp;&nbsp;&nbsp; &nbsp; );or<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (progn<br>&nbsp;&nbsp;&nbsp; (command ".area" "o" en)<br>&nbsp;&nbsp;&nbsp; (setq areatxt (/ (getvar "area") 144))<br>&nbsp;&nbsp;&nbsp; (while (not&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ;make sure user selects a point<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;(setq pt1 (getpoint "\nSelect point for text "))<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;)<br>&nbsp;&nbsp;&nbsp; &nbsp;);while<br>&nbsp;&nbsp;&nbsp; (if (not (tblsearch "layer" "SQ-FT"))<br>&nbsp;&nbsp;&nbsp; &nbsp; (command ".-layer" "m" "SQ-FT" "c" "7" "SQ-FT" ""))<br>&nbsp;&nbsp;&nbsp; (setvar "clayer" "SQ-FT")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (setq el (subst '(8 . "SQ-FT") (assoc 8 el) el))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (entmod el)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (setvar "textstyle" "standard")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (if (/= (cdr (assoc 40 (tblsearch "style" "standard"))) 0)<br>&nbsp;&nbsp;&nbsp; &nbsp; (command ".text" "j" "mc" pt1 0 (strcat (rtos areatxt 2 1) " SF"))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (command ".text" pt1 8.0 0 (strcat (rtos areatxt 2 1) " SF"))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; );if<br>&nbsp;&nbsp;&nbsp; );progn<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; );if<br>&nbsp;&nbsp;&nbsp; (setq hlt nil)<br>&nbsp;&nbsp;&nbsp; (redraw (car en) 4)<br>&nbsp;&nbsp;&nbsp; );while<br>&nbsp; (setvar "cmdecho" 1)<br>&nbsp; (setq *error* olderr)<br>&nbsp; (princ)<br>&nbsp; )<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ;end of function<br>]]>
   </description>
   <pubDate>Thu, 14 May 2015 16:53:56 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11169&amp;PID=29755&amp;title=autoarea-lisp#29755</guid>
  </item> 
  <item>
   <title><![CDATA[AUTOAREA LISP : I see what you mean as I just...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11169&amp;PID=29754&amp;title=autoarea-lisp#29754</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=165260">John Connor</a><br /><strong>Subject:</strong> 11169<br /><strong>Posted:</strong> 14.May.2015 at 16:50<br /><br />I see what you mean as I just tried to use it in plain AutoCAD.<br><span style="font-size:10px"><br /><br />Edited by John Connor - 14.May.2015 at 16:58</span>]]>
   </description>
   <pubDate>Thu, 14 May 2015 16:50:09 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11169&amp;PID=29754&amp;title=autoarea-lisp#29754</guid>
  </item> 
  <item>
   <title><![CDATA[AUTOAREA LISP :  It freezes AutoCAD. ]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11169&amp;PID=29753&amp;title=autoarea-lisp#29753</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=559804">MK2015</a><br /><strong>Subject:</strong> 11169<br /><strong>Posted:</strong> 14.May.2015 at 16:35<br /><br />It freezes AutoCAD.]]>
   </description>
   <pubDate>Thu, 14 May 2015 16:35:33 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11169&amp;PID=29753&amp;title=autoarea-lisp#29753</guid>
  </item> 
  <item>
   <title><![CDATA[AUTOAREA LISP : What kind of error are you getting?...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11169&amp;PID=29750&amp;title=autoarea-lisp#29750</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=165260">John Connor</a><br /><strong>Subject:</strong> 11169<br /><strong>Posted:</strong> 14.May.2015 at 11:59<br /><br />What kind of error are you getting?<br>]]>
   </description>
   <pubDate>Thu, 14 May 2015 11:59:19 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11169&amp;PID=29750&amp;title=autoarea-lisp#29750</guid>
  </item> 
 </channel>
</rss>