<?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: Text filter by position in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9609665#M100833</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes it worked, thank you very much!&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jun 2020 10:01:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-06-30T10:01:49Z</dc:date>
    <item>
      <title>Text filter by position</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9607576#M100823</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have a very large dwg with data field (a nautical depth chart), which i am trying to simply.&lt;/P&gt;&lt;P&gt;i managed to use object filter out and keep only depth rounded of to .0 and .5 meters&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a way that autocad can select the first and last text in the x-direction for a array of texts ?&lt;/P&gt;&lt;P&gt;this is a small example what i have:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;its arrays of text values representing the water depth at the giving location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saltlife212_3-1593432811707.png" style="width: 542px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/789583i6A6B7120C53A65A6/image-dimensions/542x266?v=v2" width="542" height="266" role="button" title="Saltlife212_3-1593432811707.png" alt="Saltlife212_3-1593432811707.png" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saltlife212_0-1593432495278.png" style="width: 498px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/789579i45CDC487817C0609/image-dimensions/498x685?v=v2" width="498" height="685" role="button" title="Saltlife212_0-1593432495278.png" alt="Saltlife212_0-1593432495278.png" /&gt;&lt;/span&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saltlife212_1-1593432526861.png" style="width: 505px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/789580iED1E62E90138E7A8/image-dimensions/505x537?v=v2" width="505" height="537" role="button" title="Saltlife212_1-1593432526861.png" alt="Saltlife212_1-1593432526861.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; and this is what i am trying to achieve&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saltlife212_2-1593432705034.png" style="width: 503px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/789581iBAA479E78665A2B7/image-dimensions/503x590?v=v2" width="503" height="590" role="button" title="Saltlife212_2-1593432705034.png" alt="Saltlife212_2-1593432705034.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a way to achieve this by using object text: filter ? or any other tips/methods are welcome.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 12:18:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9607576#M100823</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-29T12:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter by position</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9607718#M100824</link>
      <description>&lt;P&gt;Some quite simple code could solve it. But post some sample dwg, some small section, to take a look first.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 13:16:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9607718#M100824</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2020-06-29T13:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter by position</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9607725#M100825</link>
      <description>&lt;P&gt;An AutoLisp routine could do that.&amp;nbsp; It would mean selecting all of them, and it would step through and look at the X coordinate of the insertion point of each, comparing it to the least and greatest value found so far, and replacing if the current one is found to be farther in the given direction.&amp;nbsp; But first:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do all of them have the &lt;EM&gt;same justification?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What should happen if &lt;EM&gt;more than one&lt;/EM&gt;&amp;nbsp; share the same left-most or right-most X coordinate?&amp;nbsp; Are you looking for just that coordinate value, or for a specific Text object, and if the latter, how should it choose among multiples at the same X-wise position?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 13:18:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9607725#M100825</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2020-06-29T13:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter by position</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9608092#M100826</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have uploaded a sample part of the file, and yes all of the text's seems to have the same justification.&lt;/P&gt;&lt;P&gt;y was thinking maybe creating a contour with the outer texts might also work.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saltlife212_0-1593446089230.png" style="width: 549px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/789701iEA3DB1A4D8073388/image-dimensions/549x426?v=v2" width="549" height="426" role="button" title="Saltlife212_0-1593446089230.png" alt="Saltlife212_0-1593446089230.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my concern is when you have a gap within a row in the x direction. if it could still recognize that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 15:57:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9608092#M100826</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-29T15:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter by position</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9608109#M100827</link>
      <description>&lt;P&gt;What's more interesting is that the texts are slightly off the 90°grid. Is the off-angle the same (or almost) all over the drawing?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 16:08:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9608109#M100827</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2020-06-29T16:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter by position</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9608251#M100828</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;... the texts are slightly off the 90°grid. Is the off-angle the same (or almost) all over the drawing?&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's important if the idea is to select the whole collection at once, because a Y-coordinate check will be needed to group things into rows.&amp;nbsp; If you're willing to select each row separately, then it's easier, and the differences in Y coordinate don't matter, but....&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 17:09:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9608251#M100828</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2020-06-29T17:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter by position</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9608295#M100829</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes the whole drawing the texts are in the same offset rotation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i probarly the data is an export from another programs, wich they have the given depth for the given coordinate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and this has than bin imported to the autocad geometry of the area&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Coordinate&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; depth&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saltlife212_0-1593451275082.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/789740iC119606B3853D941/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Saltlife212_0-1593451275082.png" alt="Saltlife212_0-1593451275082.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;selecting it all at once would be nice, but if autocad cant complile all the info at once we have to look into another possible.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 17:30:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9608295#M100829</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-29T17:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter by position</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9608349#M100830</link>
      <description>&lt;P&gt;Have a code that works nice but lost internet fcc connection. Not sure if pic helps but here it is.&lt;/P&gt;
&lt;P&gt;You need to set UCS first that each text would be at grid 1,1&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hth&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 17:51:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9608349#M100830</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2020-06-29T17:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter by position</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9609392#M100831</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what do you mean with the UCS grid 1.1 ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ive tried the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun c:RemoveInnerTexts (/ s p i e p x y l yl s)&lt;/P&gt;&lt;P&gt;(if (setq s (ssget '((0 . "TEXT"))))&lt;BR /&gt;(repeat (setq i (sslength s))&lt;BR /&gt;(setq e (ssname s (setq i (1- i)))&lt;BR /&gt;p (trans (cdr (assoc 11 (entget e))) 0 1)&lt;BR /&gt;x (atof (rtos (car p) 2 0))&lt;BR /&gt;y (rtos (cadr p) 2 0)&lt;BR /&gt;l (if (setq a (assoc y l))&lt;BR /&gt;(subst (append a (list (cons x e)))&lt;BR /&gt;a l)&lt;BR /&gt;(cons (list y (cons x e)) l)))))&lt;BR /&gt;(foreach yl l&lt;BR /&gt;(setq yl (vl-sort (cdr yl) '(lambda (x1 x2) (&amp;lt; (car x1) (car x2))))&lt;BR /&gt;s (list (car yl)))&lt;BR /&gt;(foreach x (cdr yl)&lt;BR /&gt;(if (equal (- (car x) (car s)) 1. 1.)&lt;BR /&gt;(setq s (cons x s))&lt;BR /&gt;(progn&lt;BR /&gt;(foreach e (cdr (reverse (cdr s)))&lt;BR /&gt;(entdel (cdr e)))&lt;BR /&gt;(set q s (list x)))))&lt;BR /&gt;(foreach e (cdr (reverse (cdr s)))&lt;BR /&gt;(entdel (cdr e))))&lt;BR /&gt;(princ)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i am getting this error: bad argument type....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saltlife212_0-1593502247991.png" style="width: 625px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/789952iD8948667A629E604/image-dimensions/625x799?v=v2" width="625" height="799" role="button" title="Saltlife212_0-1593502247991.png" alt="Saltlife212_0-1593502247991.png" /&gt;&lt;/span&gt;&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>Tue, 30 Jun 2020 07:35:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9609392#M100831</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-30T07:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter by position</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9609463#M100832</link>
      <description>&lt;P&gt;You've done a pretty decent job... but two typos in the code.&amp;nbsp;&lt;A href="https://autode.sk/3ibdW7P" target="_blank" rel="noopener"&gt;HERE&lt;/A&gt;&amp;nbsp;is how to establish UCS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun c:RemoveInnerTexts (/ s i e p x y l Yline x-of-Yline s)

  (if (setq s (ssget '((0 . "TEXT"))))
    (repeat (setq i (sslength s))
      (setq e (ssname s (setq i (1- i)))
	    p (trans (cdr (assoc 11 (entget e))) 0 1)
	    x (atof (rtos (car p) 2 0))
	    y (rtos (cadr p) 2 0)
	    l (if (setq a (assoc y l))
		(subst (append a (list (cons x e)))
		       a l)
		(cons (list y (cons x e)) l)))))
  (foreach yl l									; y-line list of all xs
    (setq yl (vl-sort (cdr yl) '(lambda (x1 x2) (&amp;lt; (car x1) (car x2))))		; sort y-line items by x
	  s (list (car yl)))							; start 1st section
    (foreach x (cdr yl)								; for each x of y-line
      (if (equal (- (car x) (caar s)) 1. 1.)					; if next is by 1 from previsous
	(setq s (cons x s))							; add x to section
	(progn
	  (foreach e (cdr (reverse (cdr s)))					; else: all inners of previous section
	    (entdel (cdr e)))							;       remove
	  (setq s (list x)))))							;       and start new section
    (foreach e (cdr (reverse (cdr s)))						; last section... all inner items
      (entdel (cdr e))))							;       remove 
  (princ)
  )
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2020 08:23:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9609463#M100832</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2020-06-30T08:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter by position</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9609665#M100833</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes it worked, thank you very much!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2020 10:01:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9609665#M100833</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-30T10:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter by position</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9609749#M100834</link>
      <description>&lt;P&gt;BTW The routine works just in a horizontal direction.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It would not be too much trouble include vertical direction too - the same thing would be applied with switched X-Y coords. Then would be removed just those texts which are inner in both.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2020 10:48:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9609749#M100834</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2020-06-30T10:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter by position</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9614814#M100835</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am reaching out again maybe you have an idea,&lt;/P&gt;&lt;P&gt;the macro you gave me is working good, but still i have a pretty big drawing to compile, and a bit more simplification would be appreciated, if you can help me out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my question,&lt;/P&gt;&lt;P&gt;the current data (depth texts) are now in an array representing 1m distance between each measurement/coordinate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a way that i can filter out or run a macro that wil simply the drawing, and remove info that at the end it will be arrays representing 5m ( or even with edit later 10m) ? and then that i can change the text height from 0.20 to a bigger one, to get a better overview ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;like this:&lt;/P&gt;&lt;P&gt;(see attached example 2 dwg)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saltlife212_3-1593704190127.png" style="width: 262px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/791146iCFFB34DF7D042995/image-dimensions/262x275?v=v2" width="262" height="275" role="button" title="Saltlife212_3-1593704190127.png" alt="Saltlife212_3-1593704190127.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saltlife212_4-1593704203252.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/791147i78DCC1AA20369032/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Saltlife212_4-1593704203252.png" alt="Saltlife212_4-1593704203252.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saltlife212_5-1593704222634.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/791148i79E571EE92C85489/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Saltlife212_5-1593704222634.png" alt="Saltlife212_5-1593704222634.png" /&gt;&lt;/span&gt;&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;P&gt;i had something like this in mind&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saltlife212_1-1593703234453.png" style="width: 898px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/791139i4BCC8A10D104ED8A/image-dimensions/898x359?v=v2" width="898" height="359" role="button" title="Saltlife212_1-1593703234453.png" alt="Saltlife212_1-1593703234453.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i've attached a example dwg of the original data, maybe you understand at what step it is best to perform each sort of simplification.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and this is the filter i am using to isolate the .0 and .5 values&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saltlife212_2-1593703383236.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/791143i9F80720E551BF2F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Saltlife212_2-1593703383236.png" alt="Saltlife212_2-1593703383236.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 15:38:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9614814#M100835</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-02T15:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter by position</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9614907#M100836</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun c:RemoveOffGrid (/ s g f i e p)

  (if (and (setq s (ssget '((0 . "TEXT"))))
	   (setq g (cond ((getdist "\nGrid &amp;lt;5.0&amp;gt;: "))
			 (5.0)))
	   (setq f (cond ((getreal "\nFuzz &amp;lt;0.4&amp;gt;:"))
			 (0.4)))
	   )
    (repeat (setq i (sslength s))
      (setq e (ssname s (setq i (1- i)))
	    p (trans (cdr (assoc 11 (entget e))) 0 1))
      (if (not (and (equal (rem (car  p) g) 0 f)
		    (equal (rem (cadr p) g) 0 f)))
	(entdel e))))
  (princ)
  )
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Notes:&lt;/P&gt;
&lt;P&gt;- again, adjust UCS same way as before&lt;/P&gt;
&lt;P&gt;- considering the scale, UCS goes off with distance. So added fuzz to partially accommodate that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- learn about the REM function&amp;nbsp;&lt;A href="http://help.autodesk.com/view/ACD/2021/ENU/?guid=GUID-4CC43BEB-3215-41AE-839B-2DCE6354241A" target="_blank" rel="noopener"&gt;HERE&lt;/A&gt;&amp;nbsp; The routine removes text if a reminder of Xucs/grid AND Yucs/grid is NOT 0+- fuzz.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 16:20:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9614907#M100836</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2020-07-02T16:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter by position</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9616161#M100837</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it seems to be working, i am going to try it out on the main document.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jul 2020 09:14:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/text-filter-by-position/m-p/9616161#M100837</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-03T09:14:06Z</dc:date>
    </item>
  </channel>
</rss>

