<?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: Select multiple entities to pull apart in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-multiple-entities-to-pull-apart/m-p/5899034#M137011</link>
    <description>&lt;P&gt;Sorry, one more parenthesis&lt;BR /&gt;(ssget '((0 . "*TEXT")))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Read&amp;nbsp;&lt;A href="http://www.lee-mac.com/ssget.html" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;for more about ssget filtres.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.lee-mac.com/tutorials.html" target="_self"&gt;Here&lt;/A&gt;&amp;nbsp;on the same web (and thank to Lee Mac)&amp;nbsp;is some more tutorials - inc. "Selection Set Processing"&lt;/P&gt;</description>
    <pubDate>Mon, 09 Nov 2015 12:43:22 GMT</pubDate>
    <dc:creator>ВeekeeCZ</dc:creator>
    <dc:date>2015-11-09T12:43:22Z</dc:date>
    <item>
      <title>Select multiple entities to pull apart</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-multiple-entities-to-pull-apart/m-p/5898890#M137008</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to make a program in which the user can select all erf numbers in a drawing, and thereby a table can be made (in the drawing and at a position chosen by the user) of giving the erf number and its insertion point as its coordinate.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can easily do this with one entity at a time (user clicking on erf numbers individually) - see attached. I do not know how to select multiple entities (in this case the erf numbers) and pull them apart (assocc and alike)...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What would be the best way for me to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Derryck&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2015 10:21:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-multiple-entities-to-pull-apart/m-p/5898890#M137008</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-09T10:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple entities to pull apart</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-multiple-entities-to-pull-apart/m-p/5898980#M137009</link>
      <description>&lt;P&gt;Just a little help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(setq ss (ssget '(0 . "*TEXT")))  ; select just text

(repeat (setq n (sslength ss))
  (setq en (ssname ss (setq n (1- n))))   ; en is entity name like your e1

  ;... here you do your stuff now inside (while)

  )&lt;/PRE&gt;
&lt;P&gt;BUT - you would probably need some kind of sorting function, don't you?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2015 11:41:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-multiple-entities-to-pull-apart/m-p/5898980#M137009</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2015-11-09T11:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple entities to pull apart</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-multiple-entities-to-pull-apart/m-p/5899013#M137010</link>
      <description>&lt;P&gt;Hi. No I won't need any sorting function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, I do get the error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"error: bad point argument"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which breaks on:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(ssget '(0 . "*TEXT"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2015 12:13:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-multiple-entities-to-pull-apart/m-p/5899013#M137010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-09T12:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple entities to pull apart</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-multiple-entities-to-pull-apart/m-p/5899034#M137011</link>
      <description>&lt;P&gt;Sorry, one more parenthesis&lt;BR /&gt;(ssget '((0 . "*TEXT")))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Read&amp;nbsp;&lt;A href="http://www.lee-mac.com/ssget.html" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;for more about ssget filtres.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.lee-mac.com/tutorials.html" target="_self"&gt;Here&lt;/A&gt;&amp;nbsp;on the same web (and thank to Lee Mac)&amp;nbsp;is some more tutorials - inc. "Selection Set Processing"&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2015 12:43:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-multiple-entities-to-pull-apart/m-p/5899034#M137011</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2015-11-09T12:43:22Z</dc:date>
    </item>
  </channel>
</rss>

