<?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: Issues with Tables - 2015 in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/issues-with-tables-2015/m-p/5675301#M336438</link>
    <description>&lt;P&gt;I finally found a solution so I'm back to share.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Somehow the Table Styles are getting modified in the process, even though the values in the tables are showing correctly. &amp;nbsp;To clear the issue I modified the active TABLESTYLE by adjusting the Text Height of the Title, Header, and Data fields to Zero. &amp;nbsp;For some reason, a value of zero allows the table to return to it's normal state and will automatically poplulate the height field with the original values originally defined in the table before this strange alteration. &amp;nbsp;The thumbnail will show a funky mis-sized table while you're updating in this manner, but once you hit OK then everything returns to normal.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jun 2015 15:36:57 GMT</pubDate>
    <dc:creator>llorden4</dc:creator>
    <dc:date>2015-06-12T15:36:57Z</dc:date>
    <item>
      <title>Issues with Tables - 2015</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/issues-with-tables-2015/m-p/5551090#M336435</link>
      <description>&lt;P&gt;I've got a formatting issue I'm having a bear of a time running down and am reaching out for help, the issue being a total corruption of the Table settings even though the table settings are not changing in the Table Dialog menu. &amp;nbsp;By this I mean that even though the numbers displayed in the TABLE STYLE dialog box are not changing, I am getting completely different and un-correctable results in display. &amp;nbsp;I would typically run into this issue on occassion when copying a table from one drawing and pasting into another. &amp;nbsp;I want to also make it clear that these are Autocad tables and not Excel tables pasted into the Autocad drawings. &amp;nbsp;I've implemented a new LISP routine for some drawing automation that is now causing all tables to become corrupt, but there's not obvious system manipulation that you would think would cause this effect, but it does occur 100% of the time immediatly after running this routine. &amp;nbsp;I know you're focus is going to go to he routine, so let's start there right after I show the visuals on what the affects are...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example table before the corruption:&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/159634iCC467E9DF684D355/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="from.png" title="from.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and after the corruption all the tables grow by roughly 20 times (the list goes down and down and down beyond the screen capture), though the overall width of the table remains the same. &amp;nbsp; It looks to me as though the text is growing and the table is adapating to the larger text size.&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/159635i4A55AE426B29741E/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="to.png" title="to.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In checking the properties of the tables before and after, text height is 3/32" before the corruption, and 2" after the corruption. &amp;nbsp;Creating a new table causes the same issues, even though the table rules defined do not match. &amp;nbsp;Editing existing tables that were not affected cause the explosion in text size to all fields of that table being edited.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Getting back to the LISP routine, it does utilize a .DCL file to create a dialog box and&amp;nbsp;the routine&amp;nbsp;does read/store some current system variables, alter them, and then return to their original values. &amp;nbsp;The system variables do include: OSMODE, CLAYER, LUNITS, LUPREC, DIMSCALE, TEXTSIZE, TEXTSTYLE, and QAFLAGS. &amp;nbsp;Both the DCL and LISP run clean and exit without errors, and as a reminder, the system variables utilized are restored to pre-run values upon exit. &amp;nbsp;The routines do not edit the tables in any fashion nor are they ever selected, nor are new tables generated. &amp;nbsp;Also as a reminder, this has occassionally occured prior to my even developing this routine, I can now just regularly repeat the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enough back story, on to the main question I'm searching an answer for... &amp;nbsp;What can cause the change in&amp;nbsp;format to an existing table in the maner I've described? &amp;nbsp;Certainly my first thought is the alteration of&amp;nbsp;&lt;SPAN&gt;TEXTSIZE and/or&amp;nbsp;TEXTSTYLE but after confirming these values are restored, I can't figure the continued incorrect sizes of text after the values have been restored and the routine has exited.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sorry for the wall of text, but I am hoping to answer most of your questions before you ask them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(Solutions attempted thus far:)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1) Try on another PC station &amp;nbsp;- Issue is consistent across all stations&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) Close AutoCAD and restart to see if format returns - Failed results, corruption remains.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 21:03:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/issues-with-tables-2015/m-p/5551090#M336435</guid>
      <dc:creator>llorden4</dc:creator>
      <dc:date>2015-03-20T21:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with Tables - 2015</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/issues-with-tables-2015/m-p/5551174#M336436</link>
      <description>&lt;P&gt;If your LISP alters&amp;nbsp;&lt;SPAN&gt;LUNITS, LUPREC, DIMSCALE, TEXTSIZE, TEXTSTYLE varibles and restores them upon exit to previous settings it may be that prior to restoring the values they do have an effect on the autocad table.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This may be a dumb question, but why run this LISP if the values are being restored to previous values.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Would it be better to set these variables in a template and be done?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 21:53:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/issues-with-tables-2015/m-p/5551174#M336436</guid>
      <dc:creator>leothebuilder</dc:creator>
      <dc:date>2015-03-20T21:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with Tables - 2015</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/issues-with-tables-2015/m-p/5551268#M336437</link>
      <description>&lt;P&gt;The LISP routine is doing a boat load of drawing tasks and text creation in a defined drawing area (in model space) that I did not delve into as it's rather extensive. &amp;nbsp;It's a glorified macro of commands being executed based upon values entered by the user. &amp;nbsp;The routine will create text format, layers, etc, that are required and not currently in the drawing, in the event the user didn't start from a prepared template file. &amp;nbsp;At the end of this routine, all the settings are simply restored to what they were before the routine was started regardless of the template file used. &amp;nbsp;The Tables are all located in paper space so they can't even be accidentally grabbed for alterations. &amp;nbsp;The current routine simply creates new objects and text, it does no editing to objects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could compare this to (non-associative) Dimstyles, if you created dimensions at different scale factors using the same dimension style, if you were to go back and edit/move/highlight a previously placed dimension that was placed at a scale different from the current value, it would immediately change to match the current active settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some of my thoughts are that there might be a memory leak in the routines that govern the table data and that somehow changing one of those system variables or text height is bleeding into the table font settings. &amp;nbsp;I've had some type of bleeding issues before with table cells giving some very weird results to formulas for unknown reasons, there's still some nested bugs to work out in tables and I fear this may be one of them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm hoping someone else has run across this issue and has figured a solution they might share.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2015 00:32:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/issues-with-tables-2015/m-p/5551268#M336437</guid>
      <dc:creator>llorden4</dc:creator>
      <dc:date>2015-03-21T00:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with Tables - 2015</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/issues-with-tables-2015/m-p/5675301#M336438</link>
      <description>&lt;P&gt;I finally found a solution so I'm back to share.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Somehow the Table Styles are getting modified in the process, even though the values in the tables are showing correctly. &amp;nbsp;To clear the issue I modified the active TABLESTYLE by adjusting the Text Height of the Title, Header, and Data fields to Zero. &amp;nbsp;For some reason, a value of zero allows the table to return to it's normal state and will automatically poplulate the height field with the original values originally defined in the table before this strange alteration. &amp;nbsp;The thumbnail will show a funky mis-sized table while you're updating in this manner, but once you hit OK then everything returns to normal.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 15:36:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/issues-with-tables-2015/m-p/5675301#M336438</guid>
      <dc:creator>llorden4</dc:creator>
      <dc:date>2015-06-12T15:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with Tables - 2015</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/issues-with-tables-2015/m-p/5675864#M336439</link>
      <description>For best results, consider these:&lt;BR /&gt;&lt;BR /&gt;The textstyles used in tables shall have fonts with an assigned height of zero (0).&lt;BR /&gt;&lt;BR /&gt;Default data type of a cell shall be "Text" and not "General".&lt;BR /&gt;&lt;BR /&gt;When importing (copy-clip) a table from one file to another, the copy-clip object will inherit the properties of the named table in the destination file. To fix this, all tables in the destination file must be erased and the tablestyle purged (insert block=block method does not exist for tables). Or adjust the destination tablestyle properties.&lt;BR /&gt;&lt;BR /&gt;Avoid additional formatting of the cell's borders after table creation.&lt;BR /&gt;&lt;BR /&gt;Avoid additional formatting of the text inside the cells (exception is height and justification, which seems to stick).&lt;BR /&gt;&lt;BR /&gt;Search the forum for additional hints as I have talked about this a few times now...&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Jun 2015 22:17:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/issues-with-tables-2015/m-p/5675864#M336439</guid>
      <dc:creator>scot-65</dc:creator>
      <dc:date>2015-06-12T22:17:27Z</dc:date>
    </item>
  </channel>
</rss>

