<?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 Lisp explode all Except Line in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-explode-all-except-line/m-p/7161859#M118872</link>
    <description>&lt;P&gt;hi everyone!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Someone will have a lisp, that works just like the command "explode", but does not ask for a selection, but when running the command explode everything. It should also exclude exploiting the lines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This code does what I need, but does not exclude the lines,&amp;nbsp;Could someone change it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(setvar "QAFLAGS" 1) (command "_.explode" (ssget "_X") "") (setvar "QAFLAGS" 0)&lt;/PRE&gt;</description>
    <pubDate>Mon, 19 Jun 2017 15:16:45 GMT</pubDate>
    <dc:creator>Edwin.Saez</dc:creator>
    <dc:date>2017-06-19T15:16:45Z</dc:date>
    <item>
      <title>Lisp explode all Except Line</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-explode-all-except-line/m-p/7161859#M118872</link>
      <description>&lt;P&gt;hi everyone!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Someone will have a lisp, that works just like the command "explode", but does not ask for a selection, but when running the command explode everything. It should also exclude exploiting the lines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This code does what I need, but does not exclude the lines,&amp;nbsp;Could someone change it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(setvar "QAFLAGS" 1) (command "_.explode" (ssget "_X") "") (setvar "QAFLAGS" 0)&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Jun 2017 15:16:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-explode-all-except-line/m-p/7161859#M118872</guid>
      <dc:creator>Edwin.Saez</dc:creator>
      <dc:date>2017-06-19T15:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp explode all Except Line</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-explode-all-except-line/m-p/7161952#M118873</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3870986"&gt;@Edwin.Saez.Jamanca&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;...&amp;nbsp;works just like the command "explode", but does not ask for a selection, but when running the command explode everything. It should also exclude exploiting the lines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This code does what I need, but does not exclude the lines,&amp;nbsp;Could someone change it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(setvar "QAFLAGS" 1) (command "_.explode" (ssget "_X") "") (setvar "QAFLAGS" 0)&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Another way:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(initcommandversion 2)
(command "_.explode" "_all" "")&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BUT what do you mean by excluding the Lines?&amp;nbsp; They can't be Exploded anyway, so the above just counts them as among the things that it couldn't Explode [along with other kinds of things, such as plain Text, Circles, etc.].&amp;nbsp; Do you mean some &lt;EM&gt;other&lt;/EM&gt;&amp;nbsp; kind of object(s), such as &lt;EM&gt;Poly&lt;/EM&gt;lines?&amp;nbsp; If so:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(initcommandversion 2)&lt;BR /&gt;(command "_.explode" (ssget "_X" '((0 . "&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;~&lt;/FONT&gt;&lt;/STRONG&gt;*POLYLINE"))) "")&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Jun 2017 15:30:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-explode-all-except-line/m-p/7161952#M118873</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-06-19T15:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp explode all Except Line</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-explode-all-except-line/m-p/7162156#M118874</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the help, if it is working well.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I wanted to ask you if it could be included in a single line of code, excluding polylines and hatchs. it's possible?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 16:12:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-explode-all-except-line/m-p/7162156#M118874</guid>
      <dc:creator>Edwin.Saez</dc:creator>
      <dc:date>2017-06-19T16:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp explode all Except Line</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-explode-all-except-line/m-p/7162259#M118875</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3870986"&gt;@Edwin.Saez.Jamanca&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;....&lt;BR /&gt;I wanted to ask you if it could be included in a single line of code, excluding polylines and hatchs. it's possible?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That would require a "&lt;FONT color="#ff0000"&gt;logical grouping&lt;/FONT&gt;" of things that are &lt;FONT color="#3366ff"&gt;not Polylines&lt;/FONT&gt;&amp;nbsp;&lt;FONT color="#ff0000"&gt;AND&lt;/FONT&gt; are &lt;FONT color="#ff00ff"&gt;not Hatches&lt;/FONT&gt;.&amp;nbsp; Read about logical groupings in (ssget) filter lists in &lt;A href="http://help.autodesk.com/view/ACD/2018/ENU/?guid=GUID-5CB54129-22A1-42B9-B97C-2D2F5597F90E" target="_self"&gt;Help&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(initcommandversion 2)
(command "_.explode" (ssget "_X" '(&lt;FONT color="#ff0000"&gt;(-4 . "&amp;lt;AND")&lt;/FONT&gt; (0 . "&lt;FONT color="#3366ff"&gt;&lt;STRONG&gt;~&lt;/STRONG&gt;*POLYLINE&lt;/FONT&gt;") (0 . "&lt;FONT color="#ff00ff"&gt;&lt;STRONG&gt;~&lt;/STRONG&gt;HATCH&lt;/FONT&gt;") &lt;FONT color="#ff0000"&gt;(-4 . "AND&amp;gt;")&lt;/FONT&gt;)) "")&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Jun 2017 16:37:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-explode-all-except-line/m-p/7162259#M118875</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-06-19T16:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp explode all Except Line</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-explode-all-except-line/m-p/7162482#M118876</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3870986"&gt;@Edwin.Saez.Jamanca&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;................&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I wanted to ask you if it could be included in a single line of code, excluding polylines and hatchs..........&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;PRE&gt;(ssget "_x" '((-4 . "&amp;lt;not") (0 . "*polyline,hatch") (-4 . "not&amp;gt;"))&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 17:35:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-explode-all-except-line/m-p/7162482#M118876</guid>
      <dc:creator>Ranjit_Singh</dc:creator>
      <dc:date>2017-06-19T17:35:50Z</dc:date>
    </item>
  </channel>
</rss>

