<?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: Mapcar in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623703#M127704</link>
    <description>Shreev,&lt;BR /&gt;

&lt;BR /&gt;There are enough MAPCARS in this thread to confuse anyone. LOL. &lt;BR /&gt;
&lt;BR /&gt;
I typically stay away from mapcar except for basic list manipulation, as beyond that it can get confusing and later make your code hard to read.&lt;BR /&gt;
I stick with good ole' While Loops. That way I can call a variety of functions and do just about anything inside that code segment I need to do.&lt;BR /&gt;
&lt;BR /&gt;
It sounds like you are trying to learn more and more. I'm glad to help when ever I can and I do believe the guys responding here are doing the same.&lt;BR /&gt;
&lt;BR /&gt;
Good luck and keep Lisping.</description>
    <pubDate>Fri, 14 Oct 2016 19:58:04 GMT</pubDate>
    <dc:creator>SeeMSixty7</dc:creator>
    <dc:date>2016-10-14T19:58:04Z</dc:date>
    <item>
      <title>Mapcar</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623421#M127696</link>
      <description>&lt;P&gt;(setq _lines (ssget '((0 . "line"))))&lt;BR /&gt;&lt;BR /&gt;(defun pl:entlst-from-ss (ss)&lt;BR /&gt;(vl-remove-if 'listp (mapcar 'cadr (ssnamex ss)))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(if _lines&lt;BR /&gt;(setq _lines (mapcar 'pl:extr-pnt-from-line (pl:entlst-from-ss _lines)))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(defun pl:extr-pnt-from-line (_line / _p1 _p2)&lt;BR /&gt;(setq _line (entget _line))&lt;BR /&gt;(setq _p1 (cdr (assoc 10 _line)))&lt;BR /&gt;(setq _p2 (cdr (assoc 11 _line)))&lt;BR /&gt;(list (list (car _p1) (cadr _p1))&lt;BR /&gt;(list (car _p2) (cadr _p2))&lt;BR /&gt;) ;_ end of list&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(defun pl:extr-pnt-from-line ()&lt;BR /&gt;(mapcar '(lambda).........&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;i get the list of coordinates using the above method but i want do it using mapcar&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 17:31:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623421#M127696</guid>
      <dc:creator>vishshreevT578L</dc:creator>
      <dc:date>2016-10-14T17:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Mapcar</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623524#M127697</link>
      <description>Why? Mapcar is useful for running something against a list of things. a Line has 2 points that's it. You would have to build a list to tell Mapcar to extract the dxf codes for 10 and 11 and then be done.&lt;BR /&gt;

(defun pl:extr-pnt-from-line (lineent)
(setq linedata (entget lineent)
        linepointlist (list (cdr (assoc 10 linedata)) (cdr (assoc 11 linedata)))
)

Good luck</description>
      <pubDate>Fri, 14 Oct 2016 18:20:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623524#M127697</guid>
      <dc:creator>SeeMSixty7</dc:creator>
      <dc:date>2016-10-14T18:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Mapcar</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623567#M127698</link>
      <description>You are right sir&lt;BR /&gt;But for this is tried to get just ent it gives me bad argument entity name</description>
      <pubDate>Fri, 14 Oct 2016 18:42:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623567#M127698</guid>
      <dc:creator>vishshreevT578L</dc:creator>
      <dc:date>2016-10-14T18:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Mapcar</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623575#M127699</link>
      <description>(defun pl:extr-pnt-from-line (lineent)&lt;BR /&gt;
  (setq linedata (entget lineent)&lt;BR /&gt;
          linepointlist (list (cdr (assoc 10 linedata)) (cdr (assoc 11 linedata)))&lt;BR /&gt;
   )&lt;BR /&gt;
)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
You will need to call it and pass a line entity to the function.&lt;BR /&gt;
Try this&lt;BR /&gt;
(PL:extr-pnt-from-line (car (entsel "\nSelect Line:")))

Good luck.</description>
      <pubDate>Fri, 14 Oct 2016 18:49:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623575#M127699</guid>
      <dc:creator>SeeMSixty7</dc:creator>
      <dc:date>2016-10-14T18:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Mapcar</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623616#M127700</link>
      <description>&lt;P&gt;I tried your code and it works fine, gives no error. Post your drawing if possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's a different method. Pass the same selection set and see if this gives you an error too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun somefunc (_lines)
     (if _lines
          (mapcar '(lambda (x)
                        (mapcar '(lambda (x) (reverse (cdr (reverse (cdr x)))))
                                (list (assoc 10 (entget (cadr x))) (assoc 11 (entget (cadr x))))
                                ) ;_ mapcar
                        ) ;_ lambda
                  (member (nth (- (sslength _lines) 1) (ssnamex _lines)) (reverse (ssnamex _lines)))
                  ) ;_ mapcar
          "No Lines found!"
          ) ;_ if
     ) ;_ defun&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Oct 2016 19:07:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623616#M127700</guid>
      <dc:creator>Ranjit_Singh</dc:creator>
      <dc:date>2016-10-14T19:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Mapcar</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623637#M127701</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4033493"&gt;@vishshreevT578L&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;(defun pl:extr-pnt-from-line (_line / _p1 _p2)&lt;/P&gt;
&lt;P&gt;(setq _line (entget _line))&lt;BR /&gt;....&lt;/P&gt;
&lt;P&gt;(defun pl:extr-pnt-from-line ()&lt;BR /&gt;(mapcar '(lambda).........&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;i get the list of coordinates using the &lt;/STRONG&gt;&lt;FONT color="#ff00ff"&gt;[upper]&lt;/FONT&gt;&lt;STRONG&gt; above method but i want do it using&lt;/STRONG&gt;&amp;nbsp;&lt;FONT color="#ff00ff"&gt;[lower approach]&lt;/FONT&gt; &lt;STRONG&gt;mapcar&lt;/STRONG&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I can't help but wonder &lt;EM&gt;why it matters&lt;/EM&gt; what function you use, as long as you get the result you want, but still....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using, for&amp;nbsp;the&amp;nbsp;initial _line argument [as&amp;nbsp;in that upper function definition],&amp;nbsp;the &lt;EM&gt;entity name of a Line&lt;/EM&gt;, this is as close as I&amp;nbsp;have been able to&amp;nbsp;get using (mapcar) as an &lt;EM&gt;outermost&lt;/EM&gt; function:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;(mapcar&lt;BR /&gt;&amp;nbsp; '(lambda (x)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (list (list (cadar x) (caddar x)) (list (cadadr x) (caddr (cadr x))))&lt;BR /&gt;&amp;nbsp; ); lambda&lt;BR /&gt;&amp;nbsp; (list (vl-remove-if-not '(lambda (y) (member (car y) '(10 11))) (entget _line)))&lt;BR /&gt;); mapcar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, that returns this [from a random Line I picked in a drawing]:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#008000"&gt;((567.25 86.375) (567.25 136.0))&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which is a &lt;FONT color="#ff0000"&gt;&lt;EM&gt;list containing&lt;/EM&gt;&lt;/FONT&gt; &lt;FONT color="#008000"&gt;the&amp;nbsp;list I think you want&lt;/FONT&gt; of the start- and end-points' XY coordinates.&amp;nbsp; It has &lt;FONT color="#ff0000"&gt;extra parentheses&lt;/FONT&gt; around it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just don't think (mapcar) is the right function to do this, since it's really for mapping something such as a '(lambda) function across &lt;EM&gt;multiple&lt;/EM&gt; items in a list, and it returns a &lt;EM&gt;new list&lt;/EM&gt; of the results of applying that to &lt;EM&gt;each&amp;nbsp;item&lt;/EM&gt; in the original list.&amp;nbsp;&amp;nbsp;To get (mapcar) to return &lt;EM&gt;one&lt;/EM&gt; thing [your desired &lt;EM&gt;single&lt;/EM&gt;&amp;nbsp;list,&amp;nbsp;containing two XY point lists], it needs to be applied to a list containing only &lt;EM&gt;one&lt;/EM&gt; item, which is why I wrapped the stripped-down start-and-end-only entity data sublist&amp;nbsp;&lt;EM&gt;inside another&lt;/EM&gt; (list) function.&amp;nbsp; But that's also why it returns &lt;FONT color="#008000"&gt;the list you want&lt;/FONT&gt; as an element &lt;FONT color="#ff0000"&gt;&lt;EM&gt;inside another list&lt;/EM&gt;&lt;/FONT&gt;.&amp;nbsp; If you just&amp;nbsp;&lt;FONT color="#0000ff"&gt;change the (mapcar) function name to&lt;EM&gt; (&lt;STRONG&gt;apply&lt;/STRONG&gt;) instead&lt;/EM&gt;&lt;/FONT&gt;, it returns it directly as &lt;FONT color="#008000"&gt;the list you want&lt;/FONT&gt;, &lt;EM&gt;without&lt;/EM&gt; the extra parentheses around it.&amp;nbsp; Or, if you really insist on using (mapcar) specifically, you can wrap that whole (mapcar) thing inside a&amp;nbsp;&lt;FONT color="#ff6600"&gt;(car)&lt;/FONT&gt; function, to pull the one thing out of the list&amp;nbsp;that the&amp;nbsp;(mapcar) part&amp;nbsp;returns:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff6600"&gt;&lt;STRONG&gt;(car&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; (mapcar&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; '(lambda (x)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (list (list (cadar x) (caddar x)) (list (cadadr x) (caddr (cadr x))))&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ); lambda&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (list (vl-remove-if-not '(lambda (y) (member (car y) '(10 11))) (entget _line)))&lt;BR /&gt;&amp;nbsp; ); mapcar&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff6600"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/FONT&gt;; car&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But then (mapcar) is a &lt;EM&gt;nested&lt;/EM&gt; function, if you can live with that.&amp;nbsp; I don't guarantee there's no way to get it as an &lt;EM&gt;outermost&lt;/EM&gt; function to return the list you want directly, as &lt;FONT color="#0000ff"&gt;(apply)&lt;/FONT&gt; does, but I would suggest just using &lt;FONT color="#0000ff"&gt;(apply)&lt;/FONT&gt; instead.&amp;nbsp; If that's not acceptable, can you describe why&amp;nbsp;it's essential to use (mapcar) specifically?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 19:18:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623637#M127701</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2016-10-14T19:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Mapcar</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623644#M127702</link>
      <description>&lt;P&gt;Ranjit Sir&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(setq _lines (ssget '((0 . "line"))))&lt;BR /&gt;&lt;BR /&gt;(defun pl:entlst-from-ss (ss)&lt;BR /&gt;(vl-remove-if 'listp (mapcar 'cadr (ssnamex ss)))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(if _lines&lt;BR /&gt;(setq _lines (mapcar 'pl:extr-pnt-from-line (pl:entlst-from-ss _lines)))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(defun pl:extr-pnt-from-line (_line / _p1 _p2)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(setq _line (entget _line))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(setq _p1 (cdr (assoc 10 _line)))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(setq _p2 (cdr (assoc 11 _line)))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(list (list (car _p1) (cadr _p1))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(list (car _p2) (cadr _p2))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;) ;_ end of list&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(defun pl:extr-pnt-from-line ( dxf )&lt;BR /&gt;(mapcar '(lambda (x) (list (cdr (assoc 10 x)) (cdr (assoc 11 x)))) dxf)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i wanted to try this function using mapcar instead of highlighted code&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 19:22:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623644#M127702</guid>
      <dc:creator>vishshreevT578L</dc:creator>
      <dc:date>2016-10-14T19:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Mapcar</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623654#M127703</link>
      <description>Sir i am totally confused with this function.....mapcar is like getting&lt;BR /&gt;married again.... how i am going to understand this function its a question&lt;BR /&gt;yesterday i manipulated polyline using mapcar so i thought same i will do&lt;BR /&gt;for line...thats it</description>
      <pubDate>Fri, 14 Oct 2016 19:28:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623654#M127703</guid>
      <dc:creator>vishshreevT578L</dc:creator>
      <dc:date>2016-10-14T19:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Mapcar</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623703#M127704</link>
      <description>Shreev,&lt;BR /&gt;

&lt;BR /&gt;There are enough MAPCARS in this thread to confuse anyone. LOL. &lt;BR /&gt;
&lt;BR /&gt;
I typically stay away from mapcar except for basic list manipulation, as beyond that it can get confusing and later make your code hard to read.&lt;BR /&gt;
I stick with good ole' While Loops. That way I can call a variety of functions and do just about anything inside that code segment I need to do.&lt;BR /&gt;
&lt;BR /&gt;
It sounds like you are trying to learn more and more. I'm glad to help when ever I can and I do believe the guys responding here are doing the same.&lt;BR /&gt;
&lt;BR /&gt;
Good luck and keep Lisping.</description>
      <pubDate>Fri, 14 Oct 2016 19:58:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623703#M127704</guid>
      <dc:creator>SeeMSixty7</dc:creator>
      <dc:date>2016-10-14T19:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Mapcar</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623716#M127705</link>
      <description>Sir i know nothing about it.&lt;BR /&gt;But yea i want to be expert today everything i do in this language says me&lt;BR /&gt;u better quit....i even quit and sleep but morning torchers me and i come&lt;BR /&gt;here again...&lt;BR /&gt;Please keep guiding me sir</description>
      <pubDate>Fri, 14 Oct 2016 20:02:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623716#M127705</guid>
      <dc:creator>vishshreevT578L</dc:creator>
      <dc:date>2016-10-14T20:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Mapcar</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623725#M127706</link>
      <description>&lt;P&gt;Your code will generate error. Give some more thought to what mapcar does and you will see the problem. I will try to explain&lt;/P&gt;
&lt;PRE&gt;Command: (mapcar '(lambda (x) (list (cdr (assoc 10 x)) (cdr (assoc 11 x)))) entdata)
; error: bad association list: (-1 . &amp;lt;Entity name: 7ffff3ec490&amp;gt;)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your above line of code will take the car of the dxf list (that you pass as &lt;STRONG&gt;dxf &lt;/STRONG&gt;in your code) and look for (assoc 10 x). We don't have (assoc 10 x), because mapcar is looking at car of your dxf which is (-1 . &amp;lt;Entity name: 7ffff3ec490&amp;gt;). Think, what would be the assoc 10 of (-1 . &amp;lt;Entity name: 7ffff3ec490&amp;gt;)?. That's why you get the error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's take one step at a time. Mapcar as the name suggests maps a function to the car of a list (it goes in sequential order; car of a list, then the car of the cdr of the list, and then next and so on). To catch 10 and 11 dxf codes, lets pass the entdata to a mapcar. Remember, we only need to catch 10 and 11 codes, so you need a conditional statement in there. Many ways to do it but&amp;nbsp;I am going to use cond. You can use &lt;STRONG&gt;if &lt;/STRONG&gt;or whatever you prefer. Lets say&amp;nbsp;entdata is my pointer to entget list of a line&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;command: (mapcar '(lambda (x) (cond ((= (car x) 10) (cdr x)) ((= (car x) 11) (cdr x)) (T ()))) entdata)&lt;BR /&gt;(nil nil nil nil nil nil nil nil nil nil (15.7903 -3.81105 0.0) (29.2622 12.1024 0.0) nil)&lt;/PRE&gt;
&lt;P&gt;mapcar will always return the same length list as the list passed to the function (this makes sense since it looks at every member of the list and applies the lambda function); in above case, length of entdata. Remove nil however you want (vl-remove-nil) is the easiest&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Command: (vl-remove nil (mapcar '(lambda (x) (cond ((= (car x) 10) (cdr x)) ((= (car x) 11) (cdr x)) (T ()))) entdata))
((15.7903 -3.81105 0.0) (29.2622 12.1024 0.0))&lt;/PRE&gt;
&lt;P&gt;It seems like an overkill but mapcar is very efficient. Think of it in terms of an in-built while or foreach or whatever you want to call. Now, since you have a whole selection set of lines, write another mapcar on top of this mapcar to pass each line. Give it a try and see if it works.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 20:10:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mapcar/m-p/6623725#M127706</guid>
      <dc:creator>Ranjit_Singh</dc:creator>
      <dc:date>2016-10-14T20:10:58Z</dc:date>
    </item>
  </channel>
</rss>

