<?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: TO AVOID CASE SENSITIVE IN TEXT SELECTION FROM LISP in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301839#M98977</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5644077"&gt;@dlanorh&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;This is correct if the supplied text is not at the start or the end of the name&lt;/P&gt;
&lt;P&gt;It will not find blocks that start with blkname or end with blkname as it is used with wcmatch and there are no characters before in the start case or after in the end case&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not true.&amp;nbsp; The&amp;nbsp; &lt;FONT color="#000000"&gt;*&lt;/FONT&gt;&amp;nbsp; wildcard&amp;nbsp;stands in for any character or combination of characters, &lt;EM&gt;including &lt;STRONG&gt;no&lt;/STRONG&gt;&amp;nbsp; characters&lt;/EM&gt;.&amp;nbsp; It is &lt;EM&gt;very&lt;/EM&gt;&amp;nbsp; commonly used in a situation where it &lt;EM&gt;does&lt;/EM&gt;&amp;nbsp; find things in which there are no characters in place of the&amp;nbsp; &lt;FONT color="#000000"&gt;*&lt;/FONT&gt;&amp;nbsp; wildcard:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(ssget "_X" '((0 . "&lt;FONT color="#000000"&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;&lt;/FONT&gt;POLYLINE")))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is used all the time to find Polylines of any variety, and it finds both LWPOLYLINE entities for which the LW are covered by the&amp;nbsp; &lt;FONT color="#000000"&gt;*&lt;/FONT&gt; , and POLYLINE entities &lt;EM&gt;for which there are no characters in place of the&amp;nbsp;&lt;/EM&gt; &lt;FONT color="#000000"&gt;*&lt;/FONT&gt; .&amp;nbsp; Likewise, &lt;FONT color="#000000"&gt;*&lt;/FONT&gt;TEXT is used to find both TEXT and MTEXT entities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Easy proof:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Command: (wcmatch "TEST" "TEST&lt;FONT color="#ff0000"&gt;*&lt;/FONT&gt;")&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#0000ff"&gt;T&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;Command: (wcmatch "TEST" "&lt;FONT color="#ff0000"&gt;*&lt;/FONT&gt;TEST")&lt;BR /&gt;&lt;FONT color="#0000ff"&gt;&lt;STRONG&gt;T&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Command: (wcmatch "TEST" "&lt;FONT color="#0000ff"&gt;&lt;FONT color="#ff0000"&gt;*&lt;/FONT&gt;&lt;/FONT&gt;TEST&lt;FONT color="#0000ff"&gt;&lt;FONT color="#ff0000"&gt;*&lt;/FONT&gt;&lt;/FONT&gt;")&lt;FONT color="#0000ff"&gt;&lt;BR /&gt;&lt;STRONG&gt;T&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 29 Sep 2018 15:20:09 GMT</pubDate>
    <dc:creator>Kent1Cooper</dc:creator>
    <dc:date>2018-09-29T15:20:09Z</dc:date>
    <item>
      <title>TO AVOID CASE SENSITIVE IN TEXT SELECTION FROM LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301613#M98968</link>
      <description>&lt;P&gt;Dear Helpers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got a lisp code that can select text elements in entire drawing by user input. But it's not working for &lt;FONT color="#FF0000"&gt;case sensitive&lt;/FONT&gt; letters and also not asking for &lt;FONT color="#FF0000"&gt;window selection&lt;/FONT&gt;. Please do needful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;(defun C:SWT (/ str ss) ; = Find String(s) by Content&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;(setq str (getstring "\nYour [full or partial] string content to search for: "))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;(if (setq ss (ssget "_X" (list (cons 0 "*TEXT") (cons 1 (strcat "*" str "*")) (cons 410 (getvar 'ctab)))))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;(sssetfirst nil ss); select/highlight/grip&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;); if&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;); defun&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;T.Brahmanandam.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Sep 2018 11:33:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301613#M98968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-29T11:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: TO AVOID CASE SENSITIVE IN TEXT SELECTION FROM LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301667#M98969</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun C:SWT (/ str ss i txt)
  (if
    (and
      (setq str (getstring "\nYour [full or partial] string content to search for: "))
      (setq ss (ssget '((0 . "*TEXT"))))
    )
     (progn
       (setq str (strcat "*" (strcase str) "*"))
       (repeat (setq i (sslength ss))
         (setq txt (ssname ss (setq i (1- i))))
         (if (not (wcmatch (strcase (cdr (assoc 1 (entget txt)))) str))
           (ssdel txt ss)
         )
       )
       (sssetfirst nil ss)
     )
  )
  (princ)
)&lt;/PRE&gt;</description>
      <pubDate>Sat, 29 Sep 2018 12:25:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301667#M98969</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2018-09-29T12:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: TO AVOID CASE SENSITIVE IN TEXT SELECTION FROM LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301680#M98970</link>
      <description>&lt;P&gt;Excellent Sir,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please update to block&amp;nbsp;selections&amp;nbsp;also, as like you ddi for text selection?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;T.Brahmanandam&lt;/P&gt;</description>
      <pubDate>Sat, 29 Sep 2018 12:37:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301680#M98970</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-29T12:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: TO AVOID CASE SENSITIVE IN TEXT SELECTION FROM LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301737#M98971</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please update to block&amp;nbsp;selections&amp;nbsp;also, as like you ddi for text selection?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are asking that for case-sensitivity, be aware that Block [and Layer] names in (ssget) filter lists are &lt;EM&gt;not&lt;/EM&gt;&amp;nbsp; case-sensitive the way text-string content is.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(if&lt;/P&gt;
&lt;P&gt;&amp;nbsp; (and&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; (setq blkname (getstring "\nBlock name to find insertions of: "))&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; (setq blks&amp;nbsp;(ssget (list (cons 2 blkname))))&lt;/P&gt;
&lt;P&gt;&amp;nbsp; )&lt;/P&gt;
&lt;P&gt;&amp;nbsp; (sssetfirst nil blks)&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It doesn't matter if you enter the Block name in a different CaSe CoMbInAtIoN from the way it is in the Block table -- it will find them.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Sep 2018 13:23:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301737#M98971</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-09-29T13:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: TO AVOID CASE SENSITIVE IN TEXT SELECTION FROM LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301764#M98972</link>
      <description>&lt;P&gt;Thank you Sir,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have updated the code with your hints, but not working to select the blocks with wildcart match.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;(defun C:SBT (/ blkname blks i txt)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;(if&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;(and&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;(setq blkname (getstring "\nBlock name to find insertions of: "))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;(setq blks (ssget (list (cons 2 blkname))))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;(progn&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;(setq blkname (strcat "*" (strcase blkname) "*"))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;(repeat (setq i (sslength blks))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;(setq txt (ssname blks (setq i (1- i))))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;(if (not (wcmatch (strcase (cdr (assoc 1 (entget txt)))) blkname))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;(ssdel txt blks)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;(sssetfirst nil blks)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;(princ)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Sep 2018 13:45:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301764#M98972</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-29T13:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: TO AVOID CASE SENSITIVE IN TEXT SELECTION FROM LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301774#M98973</link>
      <description>&lt;P&gt;if you want to get help, you have to clearly explain what you mean with "select the blocks with wildcart match".&lt;/P&gt;</description>
      <pubDate>Sat, 29 Sep 2018 13:55:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301774#M98973</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2018-09-29T13:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: TO AVOID CASE SENSITIVE IN TEXT SELECTION FROM LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301780#M98974</link>
      <description>&lt;P&gt;Sir,&lt;/P&gt;&lt;P&gt;If we have some blocks in drawing&amp;nbsp;as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;"LED LAMP-A",&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;"LED LAMP-B"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;"CFL LAMP-A"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;"CFL LAMP-B"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF9900"&gt;"TUBE LIGHT-A"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF9900"&gt;&lt;SPAN&gt;"TUBE LIGHT-B"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF9900"&gt;1) If user&amp;nbsp;give user input as&lt;/FONT&gt; &lt;FONT color="#FF9900"&gt;TUBE, then all blocks&amp;nbsp;which contains name as TUBE should select. In this case all TUBE LIGHT-A &amp;amp; TUBE LIGHT-B should be selected.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;2) If user&amp;nbsp;give user input as&lt;SPAN&gt;&amp;nbsp;CFL&lt;/SPAN&gt;, then all blocks&amp;nbsp;which contains name as TUBE should select. In this case all CFL LAMP-A &amp;amp; &lt;SPAN&gt;CFL&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;L&lt;/SPAN&gt;&lt;SPAN&gt;AMP&lt;/SPAN&gt;&lt;SPAN&gt;-B&lt;/SPAN&gt;&amp;nbsp;should be selected.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;3) If user&amp;nbsp;give user input as&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;LED&lt;/SPAN&gt;&lt;SPAN&gt;, then all blocks&amp;nbsp;which contains name as TUBE should select. In this case&amp;nbsp;all LED LAMP-A&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp; LED LAMP-B&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;should be selected.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;Sir, I think this explanation gives better idea to you for my requirement. Advanced thank you sir.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Sep 2018 14:04:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301780#M98974</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-29T14:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: TO AVOID CASE SENSITIVE IN TEXT SELECTION FROM LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301811#M98975</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(setq blks (ssget "_A" (list (2 . "*blkname*"))))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Sep 2018 14:38:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301811#M98975</guid>
      <dc:creator>dbhunia</dc:creator>
      <dc:date>2018-09-29T14:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: TO AVOID CASE SENSITIVE IN TEXT SELECTION FROM LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301820#M98976</link>
      <description>&lt;P&gt;This is correct if the supplied text is not at the start or the end of the name&lt;/P&gt;&lt;P&gt;It will not find blocks that start with blkname or end with blkname as it is used with wcmatch and there are no characters before in the start case or after in the end case&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(setq blkname (strcat "*" (strcase blkname) "*"))&lt;/PRE&gt;&lt;P&gt;If blkname text is at the start of the blockname string then this has to be changed to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(setq blkname (strcat (strcase blkname) "*"))&lt;/PRE&gt;&lt;P&gt;If blkname text is at the end of the blockname string then this has to be changed to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(setq blkname (strcat "*" (strcase blkname)))&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Sep 2018 14:49:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301820#M98976</guid>
      <dc:creator>dlanorh</dc:creator>
      <dc:date>2018-09-29T14:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: TO AVOID CASE SENSITIVE IN TEXT SELECTION FROM LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301839#M98977</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5644077"&gt;@dlanorh&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;This is correct if the supplied text is not at the start or the end of the name&lt;/P&gt;
&lt;P&gt;It will not find blocks that start with blkname or end with blkname as it is used with wcmatch and there are no characters before in the start case or after in the end case&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not true.&amp;nbsp; The&amp;nbsp; &lt;FONT color="#000000"&gt;*&lt;/FONT&gt;&amp;nbsp; wildcard&amp;nbsp;stands in for any character or combination of characters, &lt;EM&gt;including &lt;STRONG&gt;no&lt;/STRONG&gt;&amp;nbsp; characters&lt;/EM&gt;.&amp;nbsp; It is &lt;EM&gt;very&lt;/EM&gt;&amp;nbsp; commonly used in a situation where it &lt;EM&gt;does&lt;/EM&gt;&amp;nbsp; find things in which there are no characters in place of the&amp;nbsp; &lt;FONT color="#000000"&gt;*&lt;/FONT&gt;&amp;nbsp; wildcard:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(ssget "_X" '((0 . "&lt;FONT color="#000000"&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;&lt;/FONT&gt;POLYLINE")))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is used all the time to find Polylines of any variety, and it finds both LWPOLYLINE entities for which the LW are covered by the&amp;nbsp; &lt;FONT color="#000000"&gt;*&lt;/FONT&gt; , and POLYLINE entities &lt;EM&gt;for which there are no characters in place of the&amp;nbsp;&lt;/EM&gt; &lt;FONT color="#000000"&gt;*&lt;/FONT&gt; .&amp;nbsp; Likewise, &lt;FONT color="#000000"&gt;*&lt;/FONT&gt;TEXT is used to find both TEXT and MTEXT entities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Easy proof:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Command: (wcmatch "TEST" "TEST&lt;FONT color="#ff0000"&gt;*&lt;/FONT&gt;")&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#0000ff"&gt;T&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;Command: (wcmatch "TEST" "&lt;FONT color="#ff0000"&gt;*&lt;/FONT&gt;TEST")&lt;BR /&gt;&lt;FONT color="#0000ff"&gt;&lt;STRONG&gt;T&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Command: (wcmatch "TEST" "&lt;FONT color="#0000ff"&gt;&lt;FONT color="#ff0000"&gt;*&lt;/FONT&gt;&lt;/FONT&gt;TEST&lt;FONT color="#0000ff"&gt;&lt;FONT color="#ff0000"&gt;*&lt;/FONT&gt;&lt;/FONT&gt;")&lt;FONT color="#0000ff"&gt;&lt;BR /&gt;&lt;STRONG&gt;T&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Sep 2018 15:20:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301839#M98977</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-09-29T15:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: TO AVOID CASE SENSITIVE IN TEXT SELECTION FROM LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301842#M98978</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have updated the code with your hints, but not working to select the blocks with wildcart match.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
….&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try it this way [untested]:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;(defun C:SBT (/ blkname blks i txt)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt;&amp;nbsp; (if&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;&amp;nbsp; &amp;nbsp; (and&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (setq blkpart (getstring "\nPartial Block name&amp;nbsp;for insertions of Blocks containing it: "))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (setq blks (ssget (list (cons 2 (strcat "*" (strcase blkpart) "*")))))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;&amp;nbsp; &amp;nbsp; )&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &lt;FONT color="#0000ff"&gt;(sssetfirst nil blks)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt;&amp;nbsp; )&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt;&amp;nbsp; (princ)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt;)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Sep 2018 15:27:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301842#M98978</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-09-29T15:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: TO AVOID CASE SENSITIVE IN TEXT SELECTION FROM LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301967#M98979</link>
      <description>&lt;P&gt;Thank you Sir. It's working fine.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Sep 2018 18:04:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8301967#M98979</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-29T18:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: TO AVOID CASE SENSITIVE IN TEXT SELECTION FROM LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8302087#M98980</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Easy proof:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Command: (wcmatch "TEST" "TEST&lt;FONT color="#ff0000"&gt;*&lt;/FONT&gt;")&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#0000ff"&gt;T&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;Command: (wcmatch "TEST" "&lt;FONT color="#ff0000"&gt;*&lt;/FONT&gt;TEST")&lt;BR /&gt;&lt;FONT color="#0000ff"&gt;&lt;STRONG&gt;T&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Command: (wcmatch "TEST" "&lt;FONT color="#0000ff"&gt;&lt;FONT color="#ff0000"&gt;*&lt;/FONT&gt;&lt;/FONT&gt;TEST&lt;FONT color="#0000ff"&gt;&lt;FONT color="#ff0000"&gt;*&lt;/FONT&gt;&lt;/FONT&gt;")&lt;FONT color="#0000ff"&gt;&lt;BR /&gt;&lt;STRONG&gt;T&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are correct &lt;img id="robothappy" class="emoticon emoticon-robothappy" src="https://forums.autodesk.com/i/smilies/16x16_robot-happy.png" alt="Robot Happy" title="Robot Happy" /&gt; I'm obviously having another senior moment and confusing this with something else.&amp;nbsp;&lt;img id="robotembarrassed" class="emoticon emoticon-robotembarrassed" src="https://forums.autodesk.com/i/smilies/16x16_robot-embarrassed.png" alt="Robot Embarassed" title="Robot Embarassed" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Sep 2018 20:41:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/to-avoid-case-sensitive-in-text-selection-from-lisp/m-p/8302087#M98980</guid>
      <dc:creator>dlanorh</dc:creator>
      <dc:date>2018-09-29T20:41:13Z</dc:date>
    </item>
  </channel>
</rss>

