<?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 to use QSE in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-use-qse/m-p/11714218#M35149</link>
    <description>&lt;P&gt;Quick Select is as user interface that allows users to get results based on the use of AutoLISP functionality of the SSGET Function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(for example to select a bunch of lines on a layer)&lt;/P&gt;&lt;P&gt;(setq myliness (ssget "X" '((0 . "LINE") (8 . "ABC")))))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To move to a different layer you could process that in so many ways. One method is just using the Command function&lt;/P&gt;&lt;P&gt;with the CHANGE Command&lt;/P&gt;&lt;P&gt;(command "change" myliness "" "p" "La" "DEF")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully that gives you a place to get some things started. Good luck&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 29 Jan 2023 20:03:51 GMT</pubDate>
    <dc:creator>SeeMSixty7</dc:creator>
    <dc:date>2023-01-29T20:03:51Z</dc:date>
    <item>
      <title>LISP to use QSE</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-use-qse/m-p/11714203#M35148</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I 'm quite new in learning Visual Lisp and I need some help..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I 'd like to create a Lisp that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Uses Quick Select to select all Hatches in a specified drawing area and delete them&lt;/P&gt;&lt;P&gt;2)Uses QSE to select all Lines from layer "ABC" and move them to layer "DEF"&lt;/P&gt;&lt;P&gt;3)Uses QSE to select any block named "EXAMPLE1" and replace it with an existing block named "EXAMPLE2"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is any of that posible? I 'd really appreciate any answer! Thanx!&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jan 2023 19:54:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-use-qse/m-p/11714203#M35148</guid>
      <dc:creator>elias.kanellakis</dc:creator>
      <dc:date>2023-01-29T19:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to use QSE</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-use-qse/m-p/11714218#M35149</link>
      <description>&lt;P&gt;Quick Select is as user interface that allows users to get results based on the use of AutoLISP functionality of the SSGET Function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(for example to select a bunch of lines on a layer)&lt;/P&gt;&lt;P&gt;(setq myliness (ssget "X" '((0 . "LINE") (8 . "ABC")))))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To move to a different layer you could process that in so many ways. One method is just using the Command function&lt;/P&gt;&lt;P&gt;with the CHANGE Command&lt;/P&gt;&lt;P&gt;(command "change" myliness "" "p" "La" "DEF")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully that gives you a place to get some things started. Good luck&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jan 2023 20:03:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-use-qse/m-p/11714218#M35149</guid>
      <dc:creator>SeeMSixty7</dc:creator>
      <dc:date>2023-01-29T20:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to use QSE</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-use-qse/m-p/11714520#M35150</link>
      <description>&lt;P&gt;; defines a command HATCHDEL that should delete all hatches from a drawing, provided they are not embedded in a block. Untested, might need a tweak or two.&amp;nbsp; The point selection part isn't included, you might have to do two selection steps I think... pretty sure the point selection filter will have to be done separate from the simple "get all HATCH entities I've shown.&amp;nbsp; Look into ssget "W" and ssget "C" for the functions needed for window or crossing selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun C:HATCHDEL ( / STUFFTOKILL)&lt;/P&gt;&lt;P&gt;&amp;nbsp;(setq STUFFTOKILL (ssget "X" '((0 . "HATCH"))))&lt;/P&gt;&lt;P&gt;&amp;nbsp;(if STUFFTOKILL (command "ERASE" STUFFTOKILL ""))&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;</description>
      <pubDate>Mon, 30 Jan 2023 01:28:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-use-qse/m-p/11714520#M35150</guid>
      <dc:creator>james_moore</dc:creator>
      <dc:date>2023-01-30T01:28:29Z</dc:date>
    </item>
  </channel>
</rss>

