<?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: 100cm and bigger in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590521#M56299</link>
    <description>&lt;LI-CODE lang="markup"&gt;(defun c:rect_side_greather_than ( / adoc edge_length ss i j  pointlist2d take eo pointset lenghts *error*)
	(defun *error* ( msg )
		(if (not (member msg '("Function cancelled" "quit / exit abort")))
			(princ)
		)
		(if (and adoc) (vla-endundomark adoc))
		(princ)
	)
	(defun pointlist2d (lst / ret) (while lst (setq	ret (cons (take 2 lst) ret) lst (cddr lst))) (reverse ret))
	(defun take (amount lst / ret)(repeat amount (setq ret (cons (car lst) (take (1- amount) (cdr lst))))))
	(setq edge_length (getreal "\Enter minimal rectangle edge length &amp;gt;"))
	(setq ss (ssget '((0 . "LWPOLYLINE") (8 . "Kolon"))) i -1)
	(setq adoc (vla-get-activedocument (vlax-get-acad-object))) 
	(vla-endundomark adoc)
	(vla-startundomark adoc)
	(while (&amp;lt; (setq i (1+ i)) (sslength ss))
		(setq eo (vlax-ename-&amp;gt;vla-object (ssname ss i)))
		(setq pointset (pointlist2d (vlax-get eo 'Coordinates)))
		(setq pointset (append pointset (list (car pointset))))
		(setq lenghts nil j -1)
		(while (&amp;lt; (setq j (1+ j)) (1- (length pointset)))(setq lenghts (cons (distance (nth j pointset)(nth (1+ j) pointset)) lenghts)))
		(cond ((&amp;gt;= (apply 'max lenghts) edge_length) (vlax-put eo 'Color 3)))
	)
	(vla-endundomark adoc)
	(princ "\nDone!")
	(princ)
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In case rectangle in not closed ie, edges are polyline segments, it will put color to green only to polyline edges greater than minimal length.&amp;nbsp; If closed, rectangle will be changed to green. I would join all segmented rectangles to&amp;nbsp; one single polyline it that is not a problem for you.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Sep 2021 13:18:30 GMT</pubDate>
    <dc:creator>hak_vz</dc:creator>
    <dc:date>2021-09-01T13:18:30Z</dc:date>
    <item>
      <title>100cm and bigger</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10583920#M56285</link>
      <description>&lt;P&gt;Hello guys;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I calculate the area of column sizes of 100 cm and above?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* The number 260 will be entered manually. example is attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* We will make the color of the relevant parts green.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 07:54:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10583920#M56285</guid>
      <dc:creator>k005</dc:creator>
      <dc:date>2021-08-30T07:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: 100cm and bigger</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10584145#M56286</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/537692"&gt;@k005&lt;/a&gt;You are not new to this forum, so please, to help us create your script attach sample dwg.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 09:49:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10584145#M56286</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2021-08-30T09:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: 100cm and bigger</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10584172#M56287</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 10:01:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10584172#M56287</guid>
      <dc:creator>k005</dc:creator>
      <dc:date>2021-08-30T10:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: 100cm and bigger</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10584262#M56288</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(defun c:area_100+ ( / ss i con sumlist mult);
(princ "\nSelect all columns text &amp;gt;")
(setq ss (ssget '((0 . "TEXT") (8 . "Kolon"))) i -1)
(while (&amp;lt; (setq i (1+ i)) (sslength ss))
	(setq con (cdr (assoc 1 (entget(ssname ss i)))))
	(setq con (substr con (+(vl-string-position (ascii "(")con)2)))
	(setq con (substr con 1 (vl-string-position (ascii "/")con)))
	(setq con (atof con))
	(cond ((&amp;gt;= con 100.0)(setq sumlist (cons con sumlist))))
)
(cond
	((and sumlist)
		(setq mult (getreal "\nEnter multiplicator &amp;gt;"))
		(princ (strcat "\nLengths: "(vl-princ-to-string sumlist) "\n"))
		(princ (strcat "Total area = " (rtos (* mult (apply '+ sumlist)) 2 2)))
	)
	(T (princ "\nNo column &amp;gt; 100 "))
)
(princ)
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 10:41:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10584262#M56288</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2021-08-30T10:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: 100cm and bigger</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10584689#M56289</link>
      <description>&lt;P&gt;&lt;STRONG&gt;* a fix: for attached file&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Not 6.45 m², correct calculation: It should be &lt;STRONG&gt;10.53 m²&lt;/STRONG&gt;. I made a mistake...&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;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5530556"&gt;@hak_vz&lt;/a&gt;&amp;nbsp;&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;&lt;P&gt;Good luck my friend. yes, that's exactly it. if it can change the selected columns to green color. It'll be super. It's not much of a problem...&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 13:46:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10584689#M56289</guid>
      <dc:creator>k005</dc:creator>
      <dc:date>2021-08-30T13:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: 100cm and bigger</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10584714#M56290</link>
      <description>&lt;P&gt;This will change column text to green. Multiplier is entered in centimeters, result is expressed in m2. For your test sample it gives 10.53. Code was edited so take last version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(defun c:area_100+ ( / ss i con sumlist mult); 
(princ "\nSelect all columns text &amp;gt;")

(setq ss (ssget '((0 . "TEXT") (8 . "Kolon"))) i -1)
(while (&amp;lt; (setq i (1+ i)) (sslength ss))
	(setq con (cdr (assoc 1 (entget(ssname ss i)))))
	(setq con (substr con (+(vl-string-position (ascii "(")con)2)))
	(setq con (substr con 1 (vl-string-position (ascii "/")con)))
	(setq con (atof con))
	(cond 
		((&amp;gt;= con 100.0)
			(setq sumlist (cons (* 0.01 con) sumlist))
			(vlax-put (vlax-ename-&amp;gt;vla-object (ssname ss i)) 'Color 3)
		)
	)
)
(cond
	((and sumlist)
		(setq mult (getreal "\nEnter multiplier &amp;gt;"))
		(princ (strcat "\nLengths: "(vl-princ-to-string sumlist) "\n"))
		(princ (strcat "Total area = " (rtos (* 0.01 mult (apply '+ sumlist)) 2 2) " m2"))
	)
	(T (princ "\nNo column &amp;gt; 100 "))
)
(princ)
)&lt;/LI-CODE&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>Mon, 30 Aug 2021 14:02:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10584714#M56290</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2021-08-30T14:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: 100cm and bigger</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10584829#M56291</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5530556"&gt;@hak_vz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much. It's ok. &lt;span class="lia-unicode-emoji" title=":hugging_face:"&gt;🤗&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 14:23:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10584829#M56291</guid>
      <dc:creator>k005</dc:creator>
      <dc:date>2021-08-30T14:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: 100cm and bigger</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10584955#M56292</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/537692"&gt;@k005&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;* The number 260 will be entered manually. example is attached.&lt;/P&gt;
&lt;P&gt;* We will make the color of the relevant parts green.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;LI-CODE lang="lisp"&gt;(defun c:Demo ( / tData Total Strng ss ml pt i str)
(if   (and
     (setq Total 0 strng ""
	  ss (ssget '((0 . "TEXT") (8 . "KOLON")(1 . "*(###/#*)"))))
      (setq ml (getreal "\nEnter factor: "))
      (setq pt (getpoint "\nPick point for Total: "))
     )
  
   (progn
     (repeat (setq i (sslength ss))
       (setq str (cdr (assoc 1 (setq ent (entget  (ssname ss (setq i (1- i))))))))
       	  (setq str (atoi (substr str (+ 2 (vl-string-position 40 str  nil t))))
		Total (+ Total str)
		strng (strcat "+" (itoa str) strng)
		)
       (entmod (append ent '((62 . 3)))) 
       (or tData (setq tData (mapcar '(lambda (d)
			(assoc d ent))'(0 7 8 62 40 50))))		
       )					 		 
        (entmakex (append  tData
			  (list '(62 . 3)(cons 10 pt)
				(cons 1 (strcat "ALAN: (" (substr strng 2) ")x"
							 (rtos ml) " = "
							 (rtos (* 0.0001 Total ml) 2 2) " m²")))))
	     )
	  )(princ)
  )&lt;/LI-CODE&gt;
&lt;P&gt;HTH&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 15:12:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10584955#M56292</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2021-08-30T15:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: 100cm and bigger</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10584997#M56293</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/564264"&gt;@pbejse&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm adding this solution to my Archive. Thank you very much. &lt;span class="lia-unicode-emoji" title=":hugging_face:"&gt;🤗&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 15:30:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10584997#M56293</guid>
      <dc:creator>k005</dc:creator>
      <dc:date>2021-08-30T15:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: 100cm and bigger</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590258#M56294</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/564264"&gt;@pbejse&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5530556"&gt;@hak_vz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Friends; Can we do this in line or lwpolyline version instead of text?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(1 . "*(###/#*)"))))&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 11:32:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590258#M56294</guid>
      <dc:creator>k005</dc:creator>
      <dc:date>2021-09-01T11:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: 100cm and bigger</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590291#M56295</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/537692"&gt;@k005&lt;/a&gt;&amp;nbsp; Please explain in details&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 11:47:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590291#M56295</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2021-09-01T11:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: 100cm and bigger</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590317#M56296</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5530556"&gt;@hak_vz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;How can I calculate the area of column sizes of 100 cm and above?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* The number 260 will be entered manually. example is attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* We will make the color of the relevant parts green.&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 11:56:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590317#M56296</guid>
      <dc:creator>k005</dc:creator>
      <dc:date>2021-09-01T11:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: 100cm and bigger</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590429#M56297</link>
      <description>&lt;P&gt;In other words, select all rectangles that have a edge longer than 100, and set its color to green?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 12:44:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590429#M56297</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2021-09-01T12:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: 100cm and bigger</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590457#M56298</link>
      <description>&lt;P&gt;Yes. including 100&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 12:54:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590457#M56298</guid>
      <dc:creator>k005</dc:creator>
      <dc:date>2021-09-01T12:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: 100cm and bigger</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590521#M56299</link>
      <description>&lt;LI-CODE lang="markup"&gt;(defun c:rect_side_greather_than ( / adoc edge_length ss i j  pointlist2d take eo pointset lenghts *error*)
	(defun *error* ( msg )
		(if (not (member msg '("Function cancelled" "quit / exit abort")))
			(princ)
		)
		(if (and adoc) (vla-endundomark adoc))
		(princ)
	)
	(defun pointlist2d (lst / ret) (while lst (setq	ret (cons (take 2 lst) ret) lst (cddr lst))) (reverse ret))
	(defun take (amount lst / ret)(repeat amount (setq ret (cons (car lst) (take (1- amount) (cdr lst))))))
	(setq edge_length (getreal "\Enter minimal rectangle edge length &amp;gt;"))
	(setq ss (ssget '((0 . "LWPOLYLINE") (8 . "Kolon"))) i -1)
	(setq adoc (vla-get-activedocument (vlax-get-acad-object))) 
	(vla-endundomark adoc)
	(vla-startundomark adoc)
	(while (&amp;lt; (setq i (1+ i)) (sslength ss))
		(setq eo (vlax-ename-&amp;gt;vla-object (ssname ss i)))
		(setq pointset (pointlist2d (vlax-get eo 'Coordinates)))
		(setq pointset (append pointset (list (car pointset))))
		(setq lenghts nil j -1)
		(while (&amp;lt; (setq j (1+ j)) (1- (length pointset)))(setq lenghts (cons (distance (nth j pointset)(nth (1+ j) pointset)) lenghts)))
		(cond ((&amp;gt;= (apply 'max lenghts) edge_length) (vlax-put eo 'Color 3)))
	)
	(vla-endundomark adoc)
	(princ "\nDone!")
	(princ)
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In case rectangle in not closed ie, edges are polyline segments, it will put color to green only to polyline edges greater than minimal length.&amp;nbsp; If closed, rectangle will be changed to green. I would join all segmented rectangles to&amp;nbsp; one single polyline it that is not a problem for you.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 13:18:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590521#M56299</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2021-09-01T13:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: 100cm and bigger</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590588#M56300</link>
      <description>&lt;P&gt;Yes, that's exactly it. we will also make an area account,..&lt;/P&gt;&lt;P&gt;Let's say we entered 260 manually, we will add the lengths of the green wings and multiply by 260, my friend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* (setq edge_length (getreal "\Enter minimal rectangle edge length &amp;gt;"))&lt;BR /&gt;We can fix this part to 100.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 13:34:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590588#M56300</guid>
      <dc:creator>k005</dc:creator>
      <dc:date>2021-09-01T13:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: 100cm and bigger</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590618#M56301</link>
      <description>&lt;P&gt;In other words at start you have rectangles created with polyline segments. We collect all sides greater or equal to 100&lt;/P&gt;&lt;P&gt;, color it green, and sum its length to total length. At the end we multiply total length to wall height. and convert to square meters. When finished you can join segments to closed polylines.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 13:52:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590618#M56301</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2021-09-01T13:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: 100cm and bigger</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590631#M56302</link>
      <description>&lt;P&gt;Ok so far.&lt;BR /&gt;we have to manually enter 260, add the side lengths and calculate the AREA.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 13:48:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590631#M56302</guid>
      <dc:creator>k005</dc:creator>
      <dc:date>2021-09-01T13:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: 100cm and bigger</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590757#M56303</link>
      <description>&lt;P&gt;Try this. Works on segmented rectangles which edge is either line or polyline.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(defun c:rect_side_greather_than_100 ( / adoc edge_length ss i eo  total total_length wall_height total_area *error*);
	(defun *error* ( msg )
		(if (not (member msg '("Function cancelled" "quit / exit abort")))
			(princ)
		)
		(if (and adoc) (vla-endundomark adoc))
		(princ)
	)

	(setq edge_length 100.0)
	(setq ss (ssget '((0 . "LWPOLYLINE,LINE") (8 . "Kolon"))) i -1)
	(setq adoc (vla-get-activedocument (vlax-get-acad-object))) 
	(initget 1)
	(setq wall_height (getreal "\nWall heigth &amp;gt;"))
	(vla-endundomark adoc)
	(vla-startundomark adoc)
	(while (&amp;lt; (setq i (1+ i)) (sslength ss))
		(setq eo (vlax-ename-&amp;gt;vla-object (ssname ss i)))
		(setq len (vlax-get eo 'Length))
			(cond
				((&amp;gt;= len 100)
					(vlax-put eo 'Color 3)
					(setq total (cons (* 0.01 len) total))
				)
			)
		
	)
	(setq total_length (apply '+ total))
	(setq total_area (* 0.01 wall_height total_length))
	(princ (strcat "\nLengths greater than 100: "(vl-princ-to-string total) "\n"))
	(princ (strcat "\Total lenght &amp;gt; 100: " (rtos total_length 2 2) " m \n"))
	(princ (strcat "Total area = " (rtos total_area 2 2) " m2"))
	(vla-endundomark adoc)
	(princ "\nDone!")
	(princ)
)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 01 Sep 2021 14:31:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590757#M56303</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2021-09-01T14:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: 100cm and bigger</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590921#M56304</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5530556"&gt;@hak_vz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much my friend. It's okay with a little difference.&lt;/P&gt;&lt;P&gt;Let's go from the example file:&lt;/P&gt;&lt;P&gt;result: 21.06 m².&lt;/P&gt;&lt;P&gt;The result should be: 10.53 m².&lt;/P&gt;&lt;P&gt;ie : result / 2&lt;/P&gt;&lt;P&gt;If it's not too much trouble... Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 15:39:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/100cm-and-bigger/m-p/10590921#M56304</guid>
      <dc:creator>k005</dc:creator>
      <dc:date>2021-09-01T15:39:18Z</dc:date>
    </item>
  </channel>
</rss>

