<?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 numbers by number value - greater than, less than in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10964372#M131888</link>
    <description>&lt;P&gt;I might not have been clear enough, the text I sent is a label for a single point and there are many.&lt;/P&gt;&lt;P&gt;See sample data attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN class=""&gt;Z9E3zK5E's code works on a simple numeric sample, and I added your edit, which then returns&amp;nbsp;&lt;/SPAN&gt;the error message:&amp;nbsp;&lt;BR /&gt;; error: bad argument type: (or stringp symbolp): nil&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Feb 2022 08:45:49 GMT</pubDate>
    <dc:creator>Ten_Tol</dc:creator>
    <dc:date>2022-02-22T08:45:49Z</dc:date>
    <item>
      <title>Select numbers by number value - greater than, less than</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/6349017#M131876</link>
      <description>&lt;P&gt;This is probably easy, but I can't find a solution anywhere.&amp;nbsp; If I have a bunch of text or mtext entities in my drawing that are all numbers, I would like a way to select a subset based on the numbers so I can put them all on a different layer.&amp;nbsp; For example, there are 500 separate text entities that are various numbers from 1 to 10000, and I would like to select everything less than or equal to 463.&amp;nbsp; The number the selection is based on will change, so I need to input it each time.&amp;nbsp; Thanks in advance!!&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 17:42:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/6349017#M131876</guid>
      <dc:creator>mpa-la</dc:creator>
      <dc:date>2016-05-25T17:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Select numbers by number value - greater than, less than</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/6349175#M131877</link>
      <description>&lt;PRE&gt;(defun C:test (/ ss n i v)
(if
  (setq n (getint "\nEnter number:")
        ss (ssget ":L" '((0 . "*TEXT")))
  )
  (repeat (setq i (sslength ss))
    (if 
      (and
        (&amp;gt;= n  (atoi (setq v (cdr (assoc 1 (entget (setq e (ssname ss (setq i (1- i))))))))))
        (not (wcmatch v "*@*"))
      )
      (vla-put-layer (vlax-ename-&amp;gt;vla-object e) "&lt;FONT color="#FF0000"&gt;NewLayer&lt;/FONT&gt;") &lt;FONT color="#339966"&gt;;;your layer here&lt;/FONT&gt;
    )
  )
)
(princ)
)&lt;/PRE&gt;</description>
      <pubDate>Wed, 25 May 2016 19:08:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/6349175#M131877</guid>
      <dc:creator>jdiala</dc:creator>
      <dc:date>2016-05-25T19:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Select numbers by number value - greater than, less than</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/6349180#M131878</link>
      <description>&lt;P&gt;Try this... and test it a little (I did slightly). You should be able to select any range you want...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-SPOILER&gt;
&lt;PRE&gt;(vl-load-com)

(defun c:SelectTextRange ( / o1 v1 o2 v2 ss ed no s1)

  (initget "L LE E GE G")
  (setq o1 (cond ((getkword "\nSelect operation for first condition [L &amp;lt;/LE &amp;lt;=/E =/GE &amp;gt;=/G &amp;gt;] &amp;lt;Equal&amp;gt;: "))
		  ("E")))
  (initget 1)
  (setq v1 (getdist (strcat "\n" (nth (vl-position o1 '("L" "LE" "E" "GE" "G"))
				      '("Less than" "Less than or equal to" "Equal to" "Greater than" "Greater than or equal to"))
			    ": ")))
  (if (and (/= o1 "E")
	   (not (initget "L LE E GE G"))
	   (setq o2 (getkword (strcat "Select operation for first condition [" (if (wcmatch o1 "L*") "GE &amp;gt;=/G &amp;gt;" "L &amp;lt;/LE &amp;lt;=") "] &amp;lt;no second condition&amp;gt;: ")))
	   )
    (setq v2 (getdist (strcat "\n" (nth (vl-position o1 '("L" "LE" "E" "GE" "G"))
					'("Less than" "Less than or equal to" "Equal to" "Greater than" "Greater than or equal to"))
			      ": "))))

  (princ "\nSelext text or Enter for ALL,")
  (if (setq s1 (ssadd)
	    ss (cond ((ssget '((0 . "*TEXT"))))
		     ((ssget "_A" '((0 . "*TEXT"))))))
    (repeat (setq i (sslength ss))
      (setq ed (entget (setq en (ssname ss (setq i (1- i))))))
      (setq no (atof (cdr (assoc 1 ed))))
      (if (and (apply (read (nth (vl-position o1 '("L" "LE" "E" "GE" "G"))
				 '("&amp;lt;" "&amp;lt;=" "=" "&amp;gt;=" "&amp;gt;")))
		      (list no v1))
	       (if v2
		 (apply (read (nth (vl-position o2 '("L" "LE" "E" "GE" "G"))
				   '("&amp;lt;" "&amp;lt;=" "=" "&amp;gt;=" "&amp;gt;")))
			(list no v2))
		 T)
	       )
	(ssadd en s1))))
  (if (entget (ssname s1 0)) (sssetfirst nil s1))
  (princ)
)&lt;/PRE&gt;
&lt;/LI-SPOILER&gt;</description>
      <pubDate>Wed, 25 May 2016 19:20:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/6349180#M131878</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2016-05-25T19:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Select numbers by number value - greater than, less than</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/6349186#M131879</link>
      <description>&lt;P&gt;Didn't work.&amp;nbsp; Wouldn't allow decimals, and when I tried a whole number it cancels out saying "automation error. key not found", even when I made sure that the number I gave it was one of the ones to be selected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a screenshot of a typical range of numbers I deal with.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/242487i1C40B9BAA2F0CBF0/image-size/original?v=v2&amp;amp;px=-1" alt="Clipboard01.jpg" title="Clipboard01.jpg" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 19:16:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/6349186#M131879</guid>
      <dc:creator>mpa-la</dc:creator>
      <dc:date>2016-05-25T19:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Select numbers by number value - greater than, less than</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/6349201#M131880</link>
      <description>&lt;P&gt;Worked perfect BeekeeCZ!!&amp;nbsp; Two questions though, I almost always use less than, how do I change it to make that the default?&amp;nbsp; After I enter the number, it says again "select operation for first condition", which I can skip past, and it works, but what is that supposed to do?&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 19:24:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/6349201#M131880</guid>
      <dc:creator>mpa-la</dc:creator>
      <dc:date>2016-05-25T19:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Select numbers by number value - greater than, less than</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/6349221#M131881</link>
      <description>&lt;P&gt;Fixed version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun c:SelectTextRange ( / o1 v1 o2 v2 ss ed no s1)

  (initget "L LE E GE G")
  (setq o1 (cond ((getkword "\nSelect operation for first condition [L &amp;lt;/LE &amp;lt;=/E =/GE &amp;gt;=/G &amp;gt;] &amp;lt;LessThan&amp;gt;: "))
		  ("L")))
  (initget 1)
  (setq v1 (getdist (strcat "\n" (nth (vl-position o1 '("L" "LE" "E" "GE" "G"))
				      '("Less than" "Less than or equal to" "Equal to" "Greater than" "Greater than or equal to"))
			    ": ")))
  (if (and (/= o1 "E")
	   (not (initget "L LE E GE G"))
	   (setq o2 (getkword (strcat "Select operation for second condition [" (if (wcmatch o1 "L*") "GE &amp;gt;=/G &amp;gt;" "L &amp;lt;/LE &amp;lt;=") "] &amp;lt;no second condition&amp;gt;: ")))
	   )
    (setq v2 (getdist (strcat "\n" (nth (vl-position o1 '("L" "LE" "E" "GE" "G"))
					'("Less than" "Less than or equal to" "Equal to" "Greater than" "Greater than or equal to"))
			      ": "))))

  (princ "\nSelext text or Enter for ALL,")
  (if (setq s1 (ssadd)
	    ss (cond ((ssget '((0 . "*TEXT"))))
		     ((ssget "_A" '((0 . "*TEXT"))))))
    (repeat (setq i (sslength ss))
      (setq ed (entget (setq en (ssname ss (setq i (1- i))))))
      (setq no (atof (cdr (assoc 1 ed))))
      (if (and (apply (read (nth (vl-position o1 '("L" "LE" "E" "GE" "G"))
				 '("&amp;lt;" "&amp;lt;=" "=" "&amp;gt;=" "&amp;gt;")))
		      (list no v1))
	       (if v2
		 (apply (read (nth (vl-position o2 '("L" "LE" "E" "GE" "G"))
				   '("&amp;lt;" "&amp;lt;=" "=" "&amp;gt;=" "&amp;gt;")))
			(list no v2))
		 T)
	       )
	(ssadd en s1))))
  (if (entget (ssname s1 0)) (sssetfirst nil s1))
  (princ)
)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 09:10:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/6349221#M131881</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2022-02-22T09:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Select numbers by number value - greater than, less than</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/6349233#M131882</link>
      <description>&lt;P&gt;Oh, ok that's cool!&amp;nbsp; Thanks for this, it's exactly what I needed.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 19:38:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/6349233#M131882</guid>
      <dc:creator>mpa-la</dc:creator>
      <dc:date>2016-05-25T19:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Select numbers by number value - greater than, less than</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10540140#M131883</link>
      <description>&lt;P&gt;Can this code be modified for using with alphanumeric text values. Such that the word has text at beginning and numbers at the end.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 12:11:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10540140#M131883</guid>
      <dc:creator>symoin</dc:creator>
      <dc:date>2021-08-12T12:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Select numbers by number value - greater than, less than</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10540290#M131884</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6544920"&gt;@symoin&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Can this code be modified ... the word has text at beginning and numbers at the end.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;One way [minimally tested]:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#999999"&gt;&amp;nbsp; ....&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#999999"&gt;&amp;nbsp; (setq ed (entget (setq en (ssname ss (setq i (1- i))))))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp; &lt;STRONG&gt;(setq str (cdr (assoc 1 ed)))&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;&amp;nbsp; (setq no (atof (substr str (1+ (strlen (vl-string-right-trim ".-0123456789" str))))))&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#999999"&gt;&amp;nbsp; (if (and (apply (read ....&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#999999"&gt;&amp;nbsp; ....&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 13:05:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10540290#M131884</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2021-08-12T13:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Select numbers by number value - greater than, less than</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10963009#M131885</link>
      <description>&lt;P&gt;I'm struggling with this second issue of having text in front of the number.&lt;/P&gt;&lt;P&gt;It gives a bad argument message.&lt;/P&gt;&lt;P&gt;An example of my MText:&lt;/P&gt;&lt;P&gt;L5U6006&lt;BR /&gt;BOS 36.047&lt;BR /&gt;CV 0.248&lt;BR /&gt;FCL 35.795&lt;BR /&gt;FTC 3.300&lt;BR /&gt;FFL 32.495&lt;BR /&gt;FV 0.476&lt;BR /&gt;TOC 32.019&lt;/P&gt;&lt;P&gt;I want to have all CV's under 0.250 selected or all FV under 0.480 selected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 15:21:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10963009#M131885</guid>
      <dc:creator>Ten_Tol</dc:creator>
      <dc:date>2022-02-21T15:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Select numbers by number value - greater than, less than</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10963217#M131886</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12093160"&gt;@Ten_Tol&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I'm struggling with this second issue of having text in front of the number.&lt;/P&gt;
&lt;P&gt;It gives a bad argument message.&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;I want to have all CV's under 0.250 selected or all FV under 0.480 selected.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you ignore the CV / FV limitation on the text part, does my suggested modification find all those with the right numerical relationship to a specified value?&amp;nbsp; What exactly is the bad argument message?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It would probably help if you post the actual code you're using and a small sample drawing.&amp;nbsp; My suggested modification seems to work in getting the numerical part to sort by, whether or not there's a space before the numerical part of the text string:&lt;/P&gt;
&lt;P&gt;Command: (setq str "L5U6006")&lt;BR /&gt;Command: (setq no (atof (substr str (1+ (strlen (vl-string-right-trim ".-0123456789" str))))))&lt;BR /&gt;&lt;STRONG&gt;6006.0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Command: (setq str "FV 0.476")&lt;BR /&gt;Command: (setq no (atof (substr str (1+ (strlen (vl-string-right-trim ".-0123456789" str))))))&lt;BR /&gt;&lt;STRONG&gt;0.476&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 18:05:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10963217#M131886</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-02-21T18:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Select numbers by number value - greater than, less than</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10963905#M131887</link>
      <description>&lt;P&gt;I have used this often by Lee-mac so will return number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;;;-------------------=={ Parse Numbers }==--------------------;;`
;;                                                            ;;
;;  Parses a list of numerical values from a supplied string. ;;
;;------------------------------------------------------------;;
;;  Author: Lee Mac, Copyright © 2011 - www.lee-mac.com       ;;
;;------------------------------------------------------------;;
;;  Arguments:                                                ;;
;;  s - String to process                                     ;;
;;------------------------------------------------------------;;
;;  Returns:  List of numerical values found in string.       ;;
;;------------------------------------------------------------;;

(defun LM:ParseNumbers ( s )
  (
    (lambda ( l )
      (read
        (strcat "("
          (vl-list-&amp;gt;string
            (mapcar
              (function
                (lambda ( a b c )
                  (if
                    (or
                      (&amp;lt; 47 b 58)
                      (and (= 45 b) (&amp;lt; 47 c 58) (not (&amp;lt; 47 a 58)))
                      (and (= 46 b) (&amp;lt; 47 a 58) (&amp;lt; 47 c 58))
                    )
                    b 32
                  )
                )
              )
              (cons nil l) l (append (cdr l) (list nil))
            )
          )
          ")"
        )
      )
    )
    (vl-string-&amp;gt;list s)
  )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so LU5A6006 would return&amp;nbsp;(5 6006) which is both numbers but could use (last to check for 6006 or (car for prefix 5.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 01:37:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10963905#M131887</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2022-02-22T01:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Select numbers by number value - greater than, less than</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10964372#M131888</link>
      <description>&lt;P&gt;I might not have been clear enough, the text I sent is a label for a single point and there are many.&lt;/P&gt;&lt;P&gt;See sample data attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN class=""&gt;Z9E3zK5E's code works on a simple numeric sample, and I added your edit, which then returns&amp;nbsp;&lt;/SPAN&gt;the error message:&amp;nbsp;&lt;BR /&gt;; error: bad argument type: (or stringp symbolp): nil&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 08:45:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10964372#M131888</guid>
      <dc:creator>Ten_Tol</dc:creator>
      <dc:date>2022-02-22T08:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Select numbers by number value - greater than, less than</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10964384#M131889</link>
      <description>&lt;P&gt;Although in this sample some numbers seem to be constant, along the whole dataset they do vary.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 08:54:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10964384#M131889</guid>
      <dc:creator>Ten_Tol</dc:creator>
      <dc:date>2022-02-22T08:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Select numbers by number value - greater than, less than</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10964434#M131890</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12093160"&gt;@Ten_Tol&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I might not have been clear enough, the text I sent is a label for a single point and there are many.&lt;/P&gt;
&lt;P&gt;See sample data attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;SPAN class=""&gt;Z9E3zK5E's code works on a simple numeric sample, and I added your edit, which then returns&amp;nbsp;&lt;/SPAN&gt;the error message:&amp;nbsp;&lt;BR /&gt;; error: bad argument type: (or stringp symbolp): nil&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;Start a new thread. You can link this one. But your case is too specific. I'll post a solution there.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 09:15:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10964434#M131890</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2022-02-22T09:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Select numbers by number value - greater than, less than</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10964927#M131891</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12093160"&gt;@Ten_Tol&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&lt;SPAN&gt;I want to have all CV's under 0.250 selected or all FV under 0.480 selected.....&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;....the text I sent is a label for a single point and there are many.&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So it's a bunch of lines with different prefixes and number values within a single Mtext object.&amp;nbsp; In that case, &lt;STRONG&gt;what would it mean&lt;/STRONG&gt; to have "&lt;SPAN&gt;all CV's under 0.250 selected or all FV under 0.480 selected"?&amp;nbsp; That's what made me think each line of your original list would be a separate Text [or Mtext] object.&amp;nbsp; You can't "select" a portion within an Mtext object, if by that you mean what object selection typically means in AutoCAD.&amp;nbsp; So if you want the entire Mtext object selected, what if its CV value is in the target range but its FV is not, or vice versa?&amp;nbsp; And in text editing, you can't select more than one non-adjacent portions within a larger Text/Mtext object at the same time.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 13:26:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10964927#M131891</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-02-22T13:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Select numbers by number value - greater than, less than</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10965310#M131892</link>
      <description>&lt;P&gt;Given the specifics I started a new thread as&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;&lt;SPAN&gt;recommended. I hope that clarifies the goal&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than-if-there/td-p/10965298" target="_blank"&gt;Select numbers by number value - greater than, less than if there is a prefix text - Autodesk Community - AutoCAD&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;N&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 15:36:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-numbers-by-number-value-greater-than-less-than/m-p/10965310#M131892</guid>
      <dc:creator>Ten_Tol</dc:creator>
      <dc:date>2022-02-22T15:36:11Z</dc:date>
    </item>
  </channel>
</rss>

