<?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 wcmatch assistance in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/wcmatch-assistance/m-p/12191808#M24996</link>
    <description>&lt;P&gt;I'm trying to get this little snippit to work as part of future lisp I'm working on.&lt;/P&gt;&lt;P&gt;I need this part to work and I can't seem to get wcmatch to catch all layers with "door" in them.&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun c:test (/ plsel pl test1)&lt;/P&gt;&lt;P&gt;(setq&lt;BR /&gt;plsel (entsel "\nSelect: ")&lt;BR /&gt;pl (car plsel)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(setq test1 (cdr (assoc 8 (entget pl))))&lt;BR /&gt;(alert (strcat test1))&lt;BR /&gt;(if (wcmatch test1 "*DOOR*")&lt;BR /&gt;(alert "yes door")&lt;BR /&gt;(alert "no door")&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(princ)&lt;BR /&gt;)&lt;/P&gt;</description>
    <pubDate>Wed, 23 Aug 2023 17:52:26 GMT</pubDate>
    <dc:creator>DC-MWA</dc:creator>
    <dc:date>2023-08-23T17:52:26Z</dc:date>
    <item>
      <title>wcmatch assistance</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/wcmatch-assistance/m-p/12191808#M24996</link>
      <description>&lt;P&gt;I'm trying to get this little snippit to work as part of future lisp I'm working on.&lt;/P&gt;&lt;P&gt;I need this part to work and I can't seem to get wcmatch to catch all layers with "door" in them.&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun c:test (/ plsel pl test1)&lt;/P&gt;&lt;P&gt;(setq&lt;BR /&gt;plsel (entsel "\nSelect: ")&lt;BR /&gt;pl (car plsel)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(setq test1 (cdr (assoc 8 (entget pl))))&lt;BR /&gt;(alert (strcat test1))&lt;BR /&gt;(if (wcmatch test1 "*DOOR*")&lt;BR /&gt;(alert "yes door")&lt;BR /&gt;(alert "no door")&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(princ)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 17:52:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/wcmatch-assistance/m-p/12191808#M24996</guid>
      <dc:creator>DC-MWA</dc:creator>
      <dc:date>2023-08-23T17:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: wcmatch assistance</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/wcmatch-assistance/m-p/12191929#M24997</link>
      <description>&lt;P&gt;try to uppercase test1 like (strcase test1)&amp;nbsp; in wcmatch expression.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 18:39:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/wcmatch-assistance/m-p/12191929#M24997</guid>
      <dc:creator>komondormrex</dc:creator>
      <dc:date>2023-08-23T18:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: wcmatch assistance</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/wcmatch-assistance/m-p/12192101#M24998</link>
      <description>This led me down the correct path. Thank you</description>
      <pubDate>Wed, 23 Aug 2023 19:51:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/wcmatch-assistance/m-p/12192101#M24998</guid>
      <dc:creator>DC-MWA</dc:creator>
      <dc:date>2023-08-23T19:51:59Z</dc:date>
    </item>
  </channel>
</rss>

