<?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 style that isn't use and cannot be purged in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13374430#M2290</link>
    <description>&lt;P&gt;True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I'm dealing with various drawings at the moment so there are many inconsistencies in random files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So now I am trying to 'controlled clean' up all so that will not affect intentional formatting/information in the drawing.&lt;BR /&gt;&lt;BR /&gt;Does anyone know why leader entity have embedded text style?&lt;/P&gt;</description>
    <pubDate>Mon, 17 Mar 2025 04:10:09 GMT</pubDate>
    <dc:creator>Brian.TsaiF883G</dc:creator>
    <dc:date>2025-03-17T04:10:09Z</dc:date>
    <item>
      <title>Text style that isn't use and cannot be purged</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13357899#M2275</link>
      <description>&lt;P&gt;The attached file is what I am able to isolate as the problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;everything says that I only have have 'standard' text style&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when it is in table, the cell states it is 'Standard' text style&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after purging, auditing, and scalelistedit reset, it still has the 2 text styles&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i can achieve only 'standard' text style by either&lt;/P&gt;&lt;P&gt;a) i explode the table into lines and MText and proceed with above,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;b) manually edit new text in Table cell&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the 'find' and replace function does not delete the non'standard' text style&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any reason the attached file text is special?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to make a lisp that would get rid these special text's text style and set it to 'standard' text style&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 05:10:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13357899#M2275</guid>
      <dc:creator>Brian.TsaiF883G</dc:creator>
      <dc:date>2025-03-07T05:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Text style that isn't use and cannot be purged</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13358026#M2276</link>
      <description>&lt;P&gt;&amp;nbsp;I just did a purge and the 2nd text style was there and its gone now.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 06:43:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13358026#M2276</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2025-03-07T06:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Text style that isn't use and cannot be purged</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13358043#M2277</link>
      <description>&lt;P&gt;I'm using Product Version: Q 47.0.0 AutoCAD 2020 and it failed&lt;BR /&gt;Product Version: Q 51.0.0 AutoCAD 2022&amp;nbsp;and it failed&lt;BR /&gt;&lt;BR /&gt;what version are you using?&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="BrianTsaiF883G_0-1741330135356.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1475051iBDB16ADB440CAA83/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrianTsaiF883G_0-1741330135356.png" alt="BrianTsaiF883G_0-1741330135356.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 06:51:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13358043#M2277</guid>
      <dc:creator>Brian.TsaiF883G</dc:creator>
      <dc:date>2025-03-07T06:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Text style that isn't use and cannot be purged</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13358079#M2278</link>
      <description>&lt;P&gt;Bricscad V25. A sometimes add a text using other style then erase and try purge again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 07:06:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13358079#M2278</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2025-03-07T07:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Text style that isn't use and cannot be purged</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13358085#M2279</link>
      <description>&lt;P&gt;These are the steps I took to manually remove &amp;amp; then purge Style:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;RHIO-1020-ME-PAD-0005.02.IFC.02.01_PDS$0$CSI TITLE BLOCK&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;First the &lt;STRONG&gt;Purge&lt;/STRONG&gt; command confirms that style is &lt;STRONG&gt;Non-Purgeable&lt;/STRONG&gt; &amp;amp; in use inside a &lt;STRONG&gt;Table&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_1-1741330594052.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1475062i3857F2AEE30F7056/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_1-1741330594052.png" alt="paullimapa_1-1741330594052.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Next I use the &lt;STRONG&gt;TABLEDIT&lt;/STRONG&gt; command &amp;amp; selected the &lt;STRONG&gt;Cell&lt;/STRONG&gt; then immediately clicked a point outside the Table to conclude the command without changing anything.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_2-1741330964602.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1475071i0375E3EE0F79AFF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_2-1741330964602.png" alt="paullimapa_2-1741330964602.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now when I enter the &lt;STRONG&gt;PURGE&lt;/STRONG&gt; command that style is purgeable:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_3-1741331160390.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1475074i0D82501C9EF41F6F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_3-1741331160390.png" alt="paullimapa_3-1741331160390.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_4-1741331228557.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1475076iF1331EAFE0FB0011/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_4-1741331228557.png" alt="paullimapa_4-1741331228557.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 07:07:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13358085#M2279</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2025-03-07T07:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Text style that isn't use and cannot be purged</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13358095#M2280</link>
      <description>&lt;P&gt;thanks that works&lt;BR /&gt;&lt;BR /&gt;but i have many many of these cases randomly in random tables and in a random files&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i don't understand is, why is it happening when the properties states it is 'Standard' text style and why we have to go through 'Tabledit' to 'refresh' it?&lt;BR /&gt;&lt;BR /&gt;is there a lisp/ reasoning the text style is unpurgable without 'Tabledit' first?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 07:13:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13358095#M2280</guid>
      <dc:creator>Brian.TsaiF883G</dc:creator>
      <dc:date>2025-03-07T07:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Text style that isn't use and cannot be purged</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13358191#M2281</link>
      <description>&lt;P&gt;This may give you a hint on how to do this on a mass selection set:&lt;/P&gt;&lt;P&gt;There's a routine written by &lt;STRONG&gt;Tharwat&lt;/STRONG&gt; here called &lt;STRONG&gt;Test.lsp&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cadtutor.net/forum/topic/63542-table-cell-style-via-lisp/" target="_blank"&gt;https://www.cadtutor.net/forum/topic/63542-table-cell-style-via-lisp/&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(defun c:Test ( / sty tbl obj row col r c)
 ;;	Tharwat - Date:  11.Jul.2017	;;

; (setq sty "Standard") ;; Change the Text Style to suit your desired one.
 (setq sty "Arial") ;; Change the Text Style to suit your desired one.
 (if (and (or (tblsearch "STYLE" sty)
            (alert (strcat "Text style &amp;lt;" sty "&amp;gt; is not found in drawing &amp;lt;!&amp;gt;"))
            )
        (princ "\nPick on Table :")
        (setq tbl (ssget "_+.:S:E:L" '((0 . "ACAD_TABLE"))))
        (setq obj (vlax-ename-&amp;gt;vla-object (ssname tbl 0))
              row (vla-get-rows obj)
              col (vla-get-columns obj)
              r 0 c 0
              )
        )
   (repeat row
     (repeat col
       (vla-setcelltextstyle obj r c sty) (setq c (1+ c))
       )
     (setq r (1+ r) c 0)
     )
   )
 (princ)
 )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;It allows you to select one &lt;STRONG&gt;Table&lt;/STRONG&gt; object to change the &lt;STRONG&gt;Text Style&lt;/STRONG&gt; in all the cells.&lt;/P&gt;&lt;P&gt;So what I did was first created a new &lt;STRONG&gt;Style&lt;/STRONG&gt; called &lt;STRONG&gt;Arial&lt;/STRONG&gt; using &lt;STRONG&gt;Arial.ttf&lt;/STRONG&gt; font.&lt;/P&gt;&lt;P&gt;Then I ran the &lt;STRONG&gt;Test.lsp&lt;/STRONG&gt; function to change the selected&lt;STRONG&gt; Table cell Style&lt;/STRONG&gt;&amp;nbsp;to &lt;STRONG&gt;Arial&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Then I'm able to &lt;STRONG&gt;Purge&lt;/STRONG&gt; the problem Style.&lt;/P&gt;&lt;P&gt;Then I edited &lt;STRONG&gt;Test.lsp&lt;/STRONG&gt; function to change the selected &lt;STRONG&gt;Table cell Style&lt;/STRONG&gt; back to &lt;STRONG&gt;Standard&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;After that I &lt;STRONG&gt;Purge&lt;/STRONG&gt; the &lt;STRONG&gt;Arial&lt;/STRONG&gt; Text Style.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 08:01:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13358191#M2281</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2025-03-07T08:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Text style that isn't use and cannot be purged</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13358248#M2282</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;because it wasn't the challange to change styles in tables, you can use this "UpdateTables" command, what does not change the table.&lt;/P&gt;&lt;P&gt;(you have to manage layer locking on your own)&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="lisp"&gt;; updated code
(defun c:UpdateTables ( / tbls)
   (if (setq n -1 tbls (ssget "_X" '((0 . "ACAD_TABLE"))))
       (repeat (sslength tbls)
         (entmod (entget(ssname tbls (setq n (1+ n)))))
       )
   )
 (princ)
)&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;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Mar 2025 09:11:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13358248#M2282</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2025-03-07T09:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Text style that isn't use and cannot be purged</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13358856#M2283</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9381051"&gt;@Brian.TsaiF883G&lt;/a&gt;&amp;nbsp;Do you folks not implement and use CHECKSTANDARDS tools? You create a standards template file to address these non-standards types of issues then run it.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 15:22:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13358856#M2283</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2025-03-07T15:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Text style that isn't use and cannot be purged</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13359212#M2284</link>
      <description>&lt;P&gt;excellent routine to fix the problem!!!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 18:40:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13359212#M2284</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2025-03-07T18:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Text style that isn't use and cannot be purged</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13361462#M2285</link>
      <description>&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't know about&amp;nbsp;&lt;SPAN&gt;CHECKSTANDARDS&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried&amp;nbsp;CHECKSTANDARDS and now i have problem fixing many many dimensions one by one&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried the Batch Standard Checker and it only generates a report without fixing them&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried to reprogram the code below but failed to get it to update all tables in all block references&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;can anyone point out which part in the code below need fixing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;(defun c:BUT ( / tbls blkname blklist ent)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; (if (setq n -1 tbls (ssget "_X" '((0 . "ACAD_TABLE"))))&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(repeat (sslength tbls)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(entmod (entget(ssname tbls (setq n (1+ n)))))&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;)&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; (while (setq blkname (cdadr (tblnext "block" (not blkname))))&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; (if&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (not&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (or&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (wcmatch blkname "`*D*,*|*"); Dimension or Xref-dependent&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (assoc 1 (tblsearch "block" blkname)); an Xref&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (member blkname blklist); already in the list&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ); or&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ); not&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (setq blklist (cons blkname blklist))&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; ); if&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; ); while&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; (foreach blkname blklist&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; (setq ent (tblobjname "block" blkname))&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; (while (setq ent (entnext ent))&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;(if (wcmatch (cdr (assoc 0 (setq edata (entget ent)))) "ACAD_TABLE")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;; (if (setq n -1 tbls (ssget "_X" '((0 . "ACAD_TABLE"))))&lt;/DIV&gt;&lt;DIV&gt;;&amp;nbsp; &amp;nbsp; &amp;nbsp; (repeat (sslength tbls)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(entmod (entget(ssname tbls (setq n (1+ n)))))&lt;/DIV&gt;&lt;DIV&gt;;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; ); while&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; ); foreach&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;(princ)&lt;/DIV&gt;&lt;DIV&gt;)&lt;/DIV&gt;</description>
      <pubDate>Mon, 10 Mar 2025 05:11:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13361462#M2285</guid>
      <dc:creator>Brian.TsaiF883G</dc:creator>
      <dc:date>2025-03-10T05:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Text style that isn't use and cannot be purged</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13361644#M2286</link>
      <description>&lt;P&gt;Untested.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;at the end you are using&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(entmod (entget(ssname tbls (setq n (1+ n)))))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;what doesn't make any sense, replace it with&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(entmod edata)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;try it again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I didn't searched for other issues&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 07:21:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13361644#M2286</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2025-03-10T07:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Text style that isn't use and cannot be purged</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13366174#M2287</link>
      <description>&lt;P&gt;It works!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 07:42:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13366174#M2287</guid>
      <dc:creator>Brian.TsaiF883G</dc:creator>
      <dc:date>2025-03-12T07:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Text style that isn't use and cannot be purged</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13370330#M2288</link>
      <description>&lt;P&gt;I have a new case with the same problem but this time, it is on a leader entity with no text at all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any reason this leader entity is so special?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 04:43:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13370330#M2288</guid>
      <dc:creator>Brian.TsaiF883G</dc:creator>
      <dc:date>2025-03-14T04:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Text style that isn't use and cannot be purged</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13370717#M2289</link>
      <description>&lt;P&gt;Just a guess its buried away in side your table style some how. Do you start drafting with a DWT or pick an existing dwg ? You may need a "Clean" dwg to start with. What happens if you use a good dwg and erase everything in Model &amp;amp; layouts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a message about the style being referenced. I know for another project with errors on load it took hours to find a style in dwg objects.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 09:33:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13370717#M2289</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2025-03-14T09:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Text style that isn't use and cannot be purged</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13374430#M2290</link>
      <description>&lt;P&gt;True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I'm dealing with various drawings at the moment so there are many inconsistencies in random files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So now I am trying to 'controlled clean' up all so that will not affect intentional formatting/information in the drawing.&lt;BR /&gt;&lt;BR /&gt;Does anyone know why leader entity have embedded text style?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 04:10:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13374430#M2290</guid>
      <dc:creator>Brian.TsaiF883G</dc:creator>
      <dc:date>2025-03-17T04:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Text style that isn't use and cannot be purged</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13375025#M2291</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;"Does anyone know why leader entity have embedded text style?"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EDITED:&lt;/STRONG&gt; Why THIS leader entity refers to a Style: &lt;FONT color="#808080"&gt;&lt;STRIKE&gt;&lt;EM&gt;I don't know it.&lt;/EM&gt;&lt;/STRIKE&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt; Because someone changed the arrowhead&lt;/STRONG&gt;, in this case the text style will linked as override to the leader object.&lt;/FONT&gt;&lt;STRIKE&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRIKE&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;But I'm not so good with LEADER objects either, they're really cool if you don't just use the ootb editing tools.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's new for me in Acad that DSTYLE&amp;nbsp; informations contains a Style-1005&lt;/P&gt;&lt;P&gt;Perhaps generated from the Pro Stahl 3D Application?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 11:49:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/text-style-that-isn-t-use-and-cannot-be-purged/m-p/13375025#M2291</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2025-03-17T11:49:28Z</dc:date>
    </item>
  </channel>
</rss>

