<?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: Lisp creation: Object counts based on enclosed Polyline in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8954381#M85952</link>
    <description>&lt;P&gt;Yes! That worked Perfectly, I was able to get better counts by changing the Factor&lt;/P&gt;&lt;P&gt;Thank You!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am Currently trying to make the counts be based on the picked polyline. So for example if I change the polyline and make the polyline cover more points. I would like the table to reflect the new count inside the initial created table. Like a refresh count based on the same polyline. Would It be trouble if I send you (may be wrong) what I think a new code line can be so that the polyline can be changed but the table remain the same?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You so Much!&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, 07 Aug 2019 23:47:01 GMT</pubDate>
    <dc:creator>jeguizaASRZM</dc:creator>
    <dc:date>2019-08-07T23:47:01Z</dc:date>
    <item>
      <title>Lisp creation: Object counts based on enclosed Polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8939478#M85936</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have found many great lisp routines that have been created from people of the AutoCAD forum. I was hoping someone can guide me to changing one of the lisps to complete a very specific task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not familiar with creating or modifying lisps so I hope someone can help. I have tried to modify it myself with trial and error. All I have been able to do is modify the scale of the table. So now I'm really stuck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have found two lisp routines, the first one is BCPL. However the BCPL does not recognize my points as blocks. I have created blocks that the lisp routine does recognize but I wish It just recognized objects names, specific layers, or colors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It Is Still A Great Lisp! I like how it generates a table after you select the enclosed Polyline and gives you a quantity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second one is SELECTCONTAINEDINSERTS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second lisp SELECTCONTAINEDINSERTS does almost the same. It counts the blocks or objects in a enclosed Polyline, but gives you the list and counts on the command menu. I really like how it I create a Polyline, select it, and gives me a count.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I'm trying to do is this-&lt;/P&gt;&lt;P&gt;I have Inserted Points using the MAPIMPORT from a .CSV File. So now the reference Points come out as "Map_Survey_Points" objects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like the new lisp to count the object "Map_Survey_Points" inside a specific Polyline. I would Like to create different Polylines with different colors and have the table reflect it in the table as background fill (Demonstration shown in the DWG) as part of the lisp command. The table would depend on the Polyline created.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would really like to Use SELECTCONTAINEDINSERTS as the base for the new lisp (if someone can help). (I'm hoping this lisp would be easier to modify)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second request would be for the lisp routine to have that same table update the counts if the selected polyline is changed. So as I change the Polyline it would't just keep making a new table but rather have a set table (after inserting the table at the initial command) were the Count Column of the block can change based on the Polyline. (The Table would depend on the initial Polyline selected) So for example if I move a vertex or stretch the Polyline and use the command "REGEN" or "REGENALL" the table Count Column would update with the new count of a specific object( in my case Map_Survey_Points) inside the Polyline&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My biggest Idea for modification is for the routines is to have an option to only pick specific blocks or objects based on Block Name or Layer, using a Polyline as a boundary, and generate a table with the quantity. And for the table to update the count if the polyline is modified&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would This be possible?&lt;/P&gt;&lt;P&gt;Am I Asking the impossible?&lt;/P&gt;&lt;P&gt;Where can I Go?&lt;/P&gt;&lt;P&gt;I know this is a huge request, but thank you for anyone that is willing to help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any Help, Guidance, Ideas are very Appreciated&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 20:23:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8939478#M85936</guid>
      <dc:creator>jeguizaASRZM</dc:creator>
      <dc:date>2019-07-30T20:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp creation: Object counts based on enclosed Polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8939925#M85937</link>
      <description>&lt;P&gt;For multi object selections but in one program use a pick object 1st then the ssget WP knows what it is looking for. You may want a use layer yes/no color etc as extra options.&amp;nbsp;So block with name= added to filter list. A dcl with radio buttons on off for common stuff. Like layer color name height style&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The table needs custom code to be written.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 03:57:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8939925#M85937</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2019-07-31T03:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp creation: Object counts based on enclosed Polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8940213#M85938</link>
      <description>&lt;P&gt;Have a look at this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(defun c:ahminitab (/ colwidth numcolumns numrows objtable rowheight sp vgms lay2 ss obj obj2)
(vl-load-com)

 
; convert now to xyz
(defun co-ords2xy ()
(setq I 0)
(setq co-ordsxy '())
(repeat (/ (length co-ords) 2)
(setq xy (list (nth i co-ords)(nth (+ I 1) co-ords) ))
(setq co-ordsxy (cons xy co-ordsxy))
(setq I (+ I 2))
)
)

; obj has color if 256 is bylayer no check for rgb

(while (setq obj (vlax-ename-&amp;gt;vla-object (car (entsel "Pick Pline"))))
(if (= (vla-get-objectname obj) "AcDbPolyline")
(progn

(setq col (vla-get-color obj))
(if (= col 256)
(progn
(setq lay (vla-get-layer obj))
(setq xxx (vla-get-layers (vla-get-activedocument (vlax-get-acad-object))))
(vlax-for lays xxx
(if (= lay (vla-get-name lays))
(setq col (vla-get-color lays))
)
)
)
)
(setq co-ords  (vlax-safearray-&amp;gt;list (vlax-variant-value   (vlax-get-property  obj  "Coordinates"))))
(co-ords2xy)

(setq sp (vlax-3d-point (getpoint "pick top left for table")))
(Setq vgms (vla-get-modelspace (vla-get-activedocument (vlax-get-acad-object))))
(setq numrows 3)
(setq numcolumns 1)
(setq rowheight 125)
(setq colwidth 900)
(setq objtable (vla-addtable vgms sp numrows numcolumns rowheight colwidth))
(vla-settext objtable 0 0 "Block Data")

(command "_zoom" "e")


(setq acCol (vla-get-truecolor objtable))
(vla-put-colormethod acCol acColorMethodByACI)
(vla-put-colorindex acCol col)
(vla-setcellbackgroundcolornone objtable 1 0 :vlax-false)
(vla-setcellbackgroundcolor objtable 1 0 accol)
(vlax-release-object acCol)

(setq obj2 (vlax-ename-&amp;gt;vla-object (car (entsel "Pick object to count"))))
(setq lay2 (vla-get-layer obj2))

(setq objname (vla-get-objectname obj2))
(if (= objname "AcDbBlockReference")
(progn
(setq ssname (vla-get-name obj2))
(setq ss (ssget "wp" co-ordsxy (list (cons 0 "Insert")(cons 8 lay2)(cons 2 ssname))))
)
)


(vla-settext objtable 2 0 (rtos (sslength ss) 2 0))
)
)
)

(princ)
)

(alert "To run again type \n \n ahminitab \n \n press Enter to exit")

(c:ahminitab)

&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Jul 2019 08:45:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8940213#M85938</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2019-07-31T08:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp creation: Object counts based on enclosed Polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8941080#M85939</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6254908"&gt;@Sea-Haven&lt;/a&gt;&amp;nbsp;Thank you for your help!&lt;/P&gt;&lt;P&gt;The Table Looks great!&lt;/P&gt;&lt;P&gt;I had a question, about the lisp. The method of picking the objects is done by selecting the object. Is there anyways the program can count all the objects by name for example "Map_Survey_Points". I am very new to lisp routines (so I really appreciate the help).&lt;/P&gt;&lt;P&gt;I am trying to understand how the lisps are set up and what each command does, and found this section of BCPL that (at least I think this is what it does) counts all objects inside the Polyline? would this help in modifying the ahminitab lisp. That way when we "Pick The Polyline" we select the object, then it counts all other objects with the same name in that Polyline. I was able to use the&amp;nbsp;ahminitab to pick a Polyline and generate a great table, based on the Polyline color and the initial picked object. But the selection proccess only recognized the initial pick, not all objects enclosed in the Polyline. (Again, as a new user for AutoCAD and Lisp routines I really appreciate all the help)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun _PointInside (PI_Point PI_PolylineObject PI_OnEdgeTrue / PI_ClosestPoint PI_Distance PI_RayAngles PI_AngleList PI_RefAngle PI_AngleList PI_CheckLine PI_IntersectPoints PI_CheckList PI_Return)&lt;BR /&gt;(setq PI_ClosestPoint (vlax-curve-GetClosestPointTo PI_PolylineObject PI_Point))&lt;BR /&gt;(setq PI_Distance (distance PI_Point PI_ClosestPoint))&lt;BR /&gt;(if&lt;BR /&gt;(not (equal PI_Distance 0.0))&lt;BR /&gt;(progn&lt;BR /&gt;(setq PI_RayAngles (_AngleList 12))&lt;BR /&gt;(setq PI_AngleList (mapcar '(lambda (PI_Factor) (* pi PI_Factor)) PI_RayAngles))&lt;BR /&gt;(if&lt;BR /&gt;(not (equal (rem (setq PI_RefAngle (angle PI_Point PI_ClosestPoint)) (/ pi 2.0)) 0))&lt;BR /&gt;(setq PI_AngleList (append (mapcar '(lambda (PI_Factor) (+ (* pi PI_Factor) PI_RefAngle )) PI_RayAngles) PI_AngleList))&lt;BR /&gt;)&lt;BR /&gt;(foreach PI_Angle PI_AngleList&lt;BR /&gt;(setq PI_CheckLine (entmakex (list '(0 . "RAY") '(100 . "AcDbEntity") '(100 . "AcDbRay") (cons 10 PI_Point) (cons 11 (mapcar '- (polar PI_Point PI_Angle 5.0) PI_Point)))))&lt;BR /&gt;(if&lt;BR /&gt;(not (vl-catch-all-error-p (setq PI_IntersectPoints (vl-catch-all-apply 'vlax-safearray-&amp;gt;list (list (vlax-variant-value (vla-IntersectWith (vlax-ename-&amp;gt;vla-object PI_CheckLine) PI_PolylineObject acExtendNone)))))))&lt;BR /&gt;(setq PI_CheckList (cons (length (_GroupByNum PI_IntersectPoints 3)) PI_CheckList))&lt;BR /&gt;(setq PI_CheckList (cons nil PI_CheckList))&lt;BR /&gt;)&lt;BR /&gt;(entdel PI_CheckLine)&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;(cond&lt;BR /&gt;(&lt;BR /&gt;(and&lt;BR /&gt;(equal PI_Distance 0.0)&lt;BR /&gt;PI_OnEdgeTrue&lt;BR /&gt;)&lt;BR /&gt;T&lt;BR /&gt;)&lt;BR /&gt;(&lt;BR /&gt;(and&lt;BR /&gt;(not (vl-some 'not PI_CheckList))&lt;BR /&gt;(vl-some '(lambda (PI_Value) (= (rem PI_Value 2) 1)) PI_CheckList)&lt;BR /&gt;)&lt;BR /&gt;T&lt;BR /&gt;)&lt;BR /&gt;(&lt;BR /&gt;T&lt;BR /&gt;nil&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(defun _AngleList (AL_Integer / AL_Step AL_Factor AL_Return)&lt;BR /&gt;(setq AL_Step (/ 2.0 AL_Integer))&lt;BR /&gt;(setq AL_Factor 0.0)&lt;BR /&gt;(repeat AL_Integer&lt;BR /&gt;(setq AL_Return (append AL_Return (list (+ 0.0 AL_Factor))))&lt;BR /&gt;(setq AL_Factor (+ AL_Factor AL_Step))&lt;BR /&gt;)&lt;BR /&gt;AL_Return&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would This help us in anyway?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 15:19:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8941080#M85939</guid>
      <dc:creator>jeguizaASRZM</dc:creator>
      <dc:date>2019-07-31T15:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp creation: Object counts based on enclosed Polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8942167#M85940</link>
      <description>&lt;P&gt;I wrote it as a more universal program, if you want just the block points you can change the ssget filter. removed the pick object.&lt;/P&gt;&lt;PRE&gt;(defun c:ahminitab (/ colwidth numcolumns numrows objtable rowheight sp vgms lay2)
(vl-load-com)

 
; convert now to xyz
(defun co-ords2xy ()
(setq I 0)
(setq co-ordsxy '())
(repeat (/ (length co-ords) 2)
(setq xy (list (nth i co-ords)(nth (+ I 1) co-ords) ))
(setq co-ordsxy (cons xy co-ordsxy))
(setq I (+ I 2))
)
)

; obj has color if 256 is bylayer no check for rgb

(while (setq obj (vlax-ename-&amp;gt;vla-object (car (entsel "Pick Pline"))))
(if (= (vla-get-objectname obj) "AcDbPolyline")
(progn

(setq col (vla-get-color obj))
(if (= col 256)
(progn
(setq lay (vla-get-layer obj))
(setq xxx (vla-get-layers (vla-get-activedocument (vlax-get-acad-object))))
(vlax-for lays xxx
(if (= lay (vla-get-name lays))
(setq col (vla-get-color lays))
)
)
)
)
(setq co-ords  (vlax-safearray-&amp;gt;list (vlax-variant-value   (vlax-get-property  obj  "Coordinates"))))
(co-ords2xy)

(setq sp (vlax-3d-point (getpoint "pick top left for table")))
(Setq vgms (vla-get-modelspace (vla-get-activedocument (vlax-get-acad-object))))
(setq numrows 3)
(setq numcolumns 1)
(setq rowheight 125)
(setq colwidth 900)
(setq objtable (vla-addtable vgms sp numrows numcolumns rowheight colwidth))
(vla-settext objtable 0 0 "Block Data")

(command "_zoom" "e")


(setq acCol (vla-get-truecolor objtable))
(vla-put-colormethod acCol acColorMethodByACI)
(vla-put-colorindex acCol col)
(vla-setcellbackgroundcolornone objtable 1 0 :vlax-false)
(vla-setcellbackgroundcolor objtable 1 0 accol)
(vlax-release-object acCol)

(setq ss (ssget "wp" co-ordsxy (list (cons 0 "Insert")(cons 2 "Map_Survey_Points"))))

(vla-settext objtable 2 0 (rtos (sslength ss) 2 0))
)
)
)

(princ)
)

(alert "To run again type \n \n ahminitab \n \n press Enter to exit")

(c:ahminitab)

&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 04:01:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8942167#M85940</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2019-08-01T04:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp creation: Object counts based on enclosed Polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8944254#M85941</link>
      <description>&lt;P&gt;Thank you for your help,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;would you be able to explain some of the lisp routine. I have very little understanding but am committed to learning lisps(I am very new to this so I've made some comments with questions and ideas of what each line does). I was hoping you can shed some light on what I don't understand. I've made comments and used ";;" so nothing in the routines is changed. I wish I could add the selection method to how "SelectContainInsert" uses and use it with your lisp. But I don't know how to add this. So instead of creating a list with counts of objects in the enclosed polyline it creates the table you have created in your lips&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;START OF LISPS SECTION I WANT TO INCLUDE IN NEW LISPS"&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;; Takes the ename of a boundary, a list of items, and&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;;; a selector function. The selector function is called&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;;; on each element in the list of items, and must return&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;;; the coordinate that is to be tested for containment&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;;; within the boundary. The result is a subset of the&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;;; argument list of items whose derived coordinates are&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;;; within the boundary. Elements whose derived coordinate&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;;; lies exactly on the boundary are not included in the&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;;; result.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;(defun get-contained-objects (boundary objlist selector / e pmin pmax result point)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(setvar "cmdecho" 0)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(mapcar 'set '(pmin pmax) (get-boundingbox boundary))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(command ".-BOUNDARY" "_A" "_B" "_N" boundary "" "_I" "_N" "_N" "")&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(setq e (entlast))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(foreach obj objlist&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(setq point (apply selector (list obj)))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;;; Use extents of boundary to do trivial rejection:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(if (bounds-contains point pmin pmax)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(progn&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(command point)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(if (not (eq e (entlast)))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(progn&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(command "_U")&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(setq result (cons obj result))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(command "")&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;result&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(defun ss-to-list (ss)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(mapcar 'cadr &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(vl-remove-if &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(function &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(lambda (i) &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(or (not (listp i)) &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(/= (type (cadr i)) 'ename))))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(ssnamex ss -1)))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(defun select-extents-of (obj filter / ss)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(command "._ZOOM" "_O" obj "")&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(setq ss (ssget "C" (getvar "EXTMIN") (getvar "EXTMAX") filter))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(command "._ZOOM" "_P")&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ss&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;" &lt;FONT face="arial black,avant garde" size="6"&gt;END OF LISPS&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun c:ahminitab (/ colwidth numcolumns numrows objtable rowheight sp vgms lay2 ss obj obj2)&lt;BR /&gt;(vl-load-com)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;; convert now to xyz&lt;BR /&gt;(defun co-ords2xy ()&lt;BR /&gt;(setq I 0)&lt;BR /&gt;(setq co-ordsxy '())&lt;BR /&gt;(repeat (/ (length co-ords) 2)&lt;BR /&gt;(setq xy (list (nth i co-ords)(nth (+ I 1) co-ords) ))&lt;BR /&gt;(setq co-ordsxy (cons xy co-ordsxy))&lt;BR /&gt;(setq I (+ I 2))&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;;what does the above section do?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;; obj has color if 256 is bylayer no check for rgb&lt;/P&gt;&lt;P&gt;(while (setq obj (vlax-ename-&amp;gt;vla-object (car (entsel "Pick Pline"))))&lt;BR /&gt;(if (= (vla-get-objectname obj) "AcDbPolyline")&lt;BR /&gt;(progn&lt;/P&gt;&lt;P&gt;;;allows pick object selection for pline&lt;/P&gt;&lt;P&gt;(setq col (vla-get-color obj))&lt;BR /&gt;(if (= col 256)&lt;BR /&gt;(progn&lt;BR /&gt;(setq lay (vla-get-layer obj))&lt;BR /&gt;(setq xxx (vla-get-layers (vla-get-activedocument (vlax-get-acad-object))))&lt;BR /&gt;(vlax-for lays xxx&lt;BR /&gt;(if (= lay (vla-get-name lays))&lt;BR /&gt;(setq col (vla-get-color lays))&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;;allows for pline color to be identified?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(setq co-ords (vlax-safearray-&amp;gt;list (vlax-variant-value (vlax-get-property obj "Coordinates"))))&lt;BR /&gt;(co-ords2xy)&lt;/P&gt;&lt;P&gt;(setq sp (vlax-3d-point (getpoint "pick top left for table")))&lt;BR /&gt;(Setq vgms (vla-get-modelspace (vla-get-activedocument (vlax-get-acad-object))))&lt;BR /&gt;(setq numrows 3)&lt;BR /&gt;(setq numcolumns 1)&lt;BR /&gt;(setq rowheight 125)&lt;BR /&gt;(setq colwidth 900)&lt;BR /&gt;(setq objtable (vla-addtable vgms sp numrows numcolumns rowheight colwidth))&lt;BR /&gt;(vla-settext objtable 0 0 "A LEG")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;;creates table width?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(command "_zoom" "e")&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;;zoom extends?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(setq acCol (vla-get-truecolor objtable))&lt;BR /&gt;(vla-put-colormethod acCol acColorMethodByACI)&lt;BR /&gt;(vla-put-colorindex acCol col)&lt;BR /&gt;(vla-setcellbackgroundcolornone objtable 1 0 :vlax-false)&lt;BR /&gt;(vla-setcellbackgroundcolor objtable 1 0 accol)&lt;BR /&gt;(vlax-release-object acCol)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;;sets table variables?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(setq obj2 (vlax-ename-&amp;gt;vla-object (car (entsel "Pick object to count"))))&lt;BR /&gt;(setq lay2 (vla-get-layer obj2))&lt;/P&gt;&lt;P&gt;(setq objname (vla-get-objectname obj2))&lt;BR /&gt;(if (= objname "AcDbBlockReference")&lt;BR /&gt;(progn&lt;BR /&gt;(setq ssname (vla-get-name obj2))&lt;BR /&gt;(setq ss (ssget "wp" co-ordsxy (list (cons 0 "Insert")(cons 8 lay2)(cons 2 ssname))))&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;;what does the above section do?&lt;/STRONG&gt;&lt;BR /&gt;(vla-settext objtable 2 0 (rtos (sslength ss) 2 0))&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(princ)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(alert "To run again type \n \n ahminitab \n \n press Enter to exit")&lt;/P&gt;&lt;P&gt;(c:ahminitab)&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;COMMENTS FOR "AHMINITAB" ARE IN BOLD FONT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again, thank you so much for responding,&lt;/P&gt;&lt;P&gt;I am so great full for your time,&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 00:48:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8944254#M85941</guid>
      <dc:creator>jeguizaASRZM</dc:creator>
      <dc:date>2019-08-02T00:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp creation: Object counts based on enclosed Polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8944277#M85942</link>
      <description>&lt;P&gt;The ssget, get a selection of entities uses the WP option "within polygon" which uses a list of the pline vertices. in your case this could be the boundary you have made use (entlast) to save the boundary as a variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp; &lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; font-family: 'Artifakt',Tahoma,Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;convert now to xyz&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; font-family: 'Artifakt',Tahoma,Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;(defun co-ords2xy () is because I have converted the pline into a VLisp variable and use the get co-ordinates method to do just that get all the vetice co-ordinates. Yhey are returned as X Y X Y X Y the routine converts to ((x y)(x y)… with 3dpolylines you get X Y Z X Y Z X Y Z again convert to ((X Y Z)(X Y Z) but in 3's per list.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; font-family: 'Artifakt',Tahoma,Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;If I rewrite the select pline to use entget (assoc 1 which will give the object name = LWPOLYLINE so make sure a pline is chosen.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; font-family: 'Artifakt',Tahoma,Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;FONT&gt;Select entity: ((-1 . &amp;lt;Entity name: 3add2910&amp;gt;) (0 . "LWPOLYLINE")&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; font-family: 'Artifakt',Tahoma,Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;FONT&gt;I could then use this method to get the list of pline vertices.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; font-family: 'Artifakt',Tahoma,Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;FONT&gt;(if plent (setq co-ordsxy (mapcar 'cdr (vl-remove-if-not '(lambda (x) (= (car x) 10)) (entget (car plent))))))&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; font-family: 'Artifakt',Tahoma,Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;FONT&gt;If you post a dwg of what you want would make more sense.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 01:34:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8944277#M85942</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2019-08-02T01:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp creation: Object counts based on enclosed Polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8945183#M85943</link>
      <description>&lt;P&gt;Thank you for the response!&lt;/P&gt;&lt;P&gt;I'm getting a better understanding of the lips.&lt;/P&gt;&lt;P&gt;And of course I can provide a dwg!&lt;/P&gt;&lt;P&gt;It will be an attachment, along with SELECTCONTAININSERT LISP.&lt;/P&gt;&lt;P&gt;This lisp counts the objects inside the Polyline, but only displays the results in the command menu of AutoCAD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be great to just add the method of counting the specific object (MAP_SURVEY_POINTS) from the&amp;nbsp;SELECTCONTAININSERT LISP to your lisps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks For The Response!&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;&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>Fri, 02 Aug 2019 13:45:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8945183#M85943</guid>
      <dc:creator>jeguizaASRZM</dc:creator>
      <dc:date>2019-08-02T13:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp creation: Object counts based on enclosed Polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8946256#M85944</link>
      <description>&lt;P&gt;The second post is hard coded for your blocks to be selected automatically.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Aug 2019 05:14:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8946256#M85944</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2019-08-03T05:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp creation: Object counts based on enclosed Polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8948850#M85945</link>
      <description>&lt;P&gt;It looks like it doesn't work for me. Would you be able to share a screen cast with how you run the routine? I am able to manually select some points after choosing the Polyline but the routine only uses the initial picked object(only one time) to count the object. It doesn't counts all "MAP_SURVEY_POINTS"&amp;nbsp; inside the enclosed Polyline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe I'm doing something wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time once again!&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2019 15:05:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8948850#M85945</guid>
      <dc:creator>jeguizaASRZM</dc:creator>
      <dc:date>2019-08-05T15:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp creation: Object counts based on enclosed Polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8949844#M85946</link>
      <description>&lt;P&gt;Ok found 1 problem I had the block name as a plural points instead of point. This was copied from the post here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue with the count being wrong is that to find the objects "within Polygon" they must be entirely within if you look at image it appears there are 5 blocks, but 2 of them touch the edge. If I add touch edge then it will be complicated if plines are next to each other just need a little bit more care, could use qselect change scale make small do table then rescale if making plines becomes a problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The file attached has the lisp corrected for&amp;nbsp;&lt;FONT&gt;(cons 2 "Map_Survey_Point")&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 02:28:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8949844#M85946</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2019-08-06T02:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp creation: Object counts based on enclosed Polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8951168#M85947</link>
      <description>&lt;P&gt;Awesome! This is great! Thank you for the modification the lips routine.&lt;/P&gt;&lt;P&gt;I have one idea, would it be possible for the lips routine to use point of insertion based on x and y to determined how many objects are inside the Polyline?&lt;/P&gt;&lt;P&gt;Changing the scale worked great! it gave me more accurate counts, but would switching how it counts the objects turn over to a more exact count?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You For Your Time,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 15:39:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8951168#M85947</guid>
      <dc:creator>jeguizaASRZM</dc:creator>
      <dc:date>2019-08-06T15:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp creation: Object counts based on enclosed Polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8951398#M85948</link>
      <description>&lt;P&gt;I also was wondering how i can insert a text justification for the 3rd row,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was thinking I can use&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(setq SetAlignment objtable 2 0 MiddleCenter MC)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I cannot figure out where I can insert this to your lips. Any ideas of what I'm doing wrong? Do I have to define the variable somewhere else?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help and dedication to passing on some understanding for lips routines!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JE&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 17:57:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8951398#M85948</guid>
      <dc:creator>jeguizaASRZM</dc:creator>
      <dc:date>2019-08-06T17:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp creation: Object counts based on enclosed Polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8951930#M85949</link>
      <description>&lt;P&gt;Change code to this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;(vla-settext objtable 2 0 (rtos (sslength ss) 2 0))&lt;BR /&gt;(vla-SetAlignment objtable acDataRow acMiddleCenter)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 23:41:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8951930#M85949</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2019-08-06T23:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp creation: Object counts based on enclosed Polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8953517#M85950</link>
      <description>&lt;P&gt;Thank You so much for all your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You for your time and patience!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All Credit will be added to you,&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6254908"&gt;@Sea-Haven&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope one day I can learn to program and help other just like you helped me!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 15:28:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8953517#M85950</guid>
      <dc:creator>jeguizaASRZM</dc:creator>
      <dc:date>2019-08-07T15:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp creation: Object counts based on enclosed Polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8954372#M85951</link>
      <description>&lt;P&gt;If I find time will add check insert point. This would though add a time factor as it would look at all blocks inside and out. I can just add change scale then back if you want much easier.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 23:37:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8954372#M85951</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2019-08-07T23:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp creation: Object counts based on enclosed Polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8954381#M85952</link>
      <description>&lt;P&gt;Yes! That worked Perfectly, I was able to get better counts by changing the Factor&lt;/P&gt;&lt;P&gt;Thank You!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am Currently trying to make the counts be based on the picked polyline. So for example if I change the polyline and make the polyline cover more points. I would like the table to reflect the new count inside the initial created table. Like a refresh count based on the same polyline. Would It be trouble if I send you (may be wrong) what I think a new code line can be so that the polyline can be changed but the table remain the same?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You so Much!&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, 07 Aug 2019 23:47:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8954381#M85952</guid>
      <dc:creator>jeguizaASRZM</dc:creator>
      <dc:date>2019-08-07T23:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp creation: Object counts based on enclosed Polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8954386#M85953</link>
      <description>Auto updating a count may not be possible if using fields you can do stuff like length and area these will update.&lt;BR /&gt;&lt;BR /&gt;The time to erase and redo may out way an auto update could add a update into the code. Pick table pick pline.&lt;BR /&gt;&lt;BR /&gt;I think doing the autoscale 1st is worthwhile say reduce 1/10.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Aug 2019 23:56:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8954386#M85953</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2019-08-07T23:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp creation: Object counts based on enclosed Polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8956646#M85954</link>
      <description>&lt;P&gt;Here's something I was playing with.&lt;/P&gt;&lt;P&gt;I have used Data extraction to count the objects and it gives me a count for all objects in the .dwg. When I delete some of the objects it gives me an option to "Update Data Extraction".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question would be, how does the count update with the data extraction, does inside the table cell have a a "Insert Field" variable?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was digging to see if maybe the "Insert Field Variable" had something that counts the units and maybe we can use that variable as an addition to the lips, but only found things like you said, Area, length, color, scale, ext. Any ideas on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 22:17:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8956646#M85954</guid>
      <dc:creator>jeguizaASRZM</dc:creator>
      <dc:date>2019-08-08T22:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp creation: Object counts based on enclosed Polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8956740#M85955</link>
      <description>&lt;P&gt;it may be possible to save the pline entity name into the table say in the second row, a update all tables would find the entity names and redo the count. Its a fair bit of work, compared to how often would you change the shape or number of points and just do again,&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 23:53:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-creation-object-counts-based-on-enclosed-polyline/m-p/8956740#M85955</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2019-08-08T23:53:23Z</dc:date>
    </item>
  </channel>
</rss>

