<?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 Automatic Updating an exploded material table in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/automatic-updating-an-exploded-material-table/m-p/13827955#M355180</link>
    <description>&lt;P&gt;Technical Description – Updating Exploded Volume Tables in AutoCAD&lt;/P&gt;&lt;P&gt;We need to automate the update of exploded material volume tables in AutoCAD. Since these tables have been exploded, they no longer behave as native AutoCAD tables, and all values are just text entities.&lt;/P&gt;&lt;P&gt;Table Structure&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Header row (Station row)&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Format: Material(s) at Station 0+250.00&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Contains only one cell.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The station value (e.g., 0+250.00) is critical and must be extracted as a number.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Second row (Fixed column headers)&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Always contains four columns with the following fixed titles:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Material Name&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Area&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Volume&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Cumulative Volume&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Subsequent rows (Data rows)&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Each row corresponds to one material.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Column 1:&lt;/STRONG&gt; Material name (constant across the project but may differ between projects).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Column 2:&lt;/STRONG&gt; Area value (numeric).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Column 3:&lt;/STRONG&gt; Volume (to be calculated).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Column 4:&lt;/STRONG&gt; Cumulative Volume (to be updated).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Key Observations&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Row spacing from the second row onward equals &lt;STRONG&gt;3 × text height&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The X-insertion points of all values in each column are aligned with the column headers.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Calculation Method&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Volumes are calculated using the &lt;STRONG&gt;truncated cone formula&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Let &lt;STRONG&gt;A1&lt;/STRONG&gt; = Area in section 1&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Let &lt;STRONG&gt;A2&lt;/STRONG&gt; = Area in section 2&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Let &lt;STRONG&gt;H&lt;/STRONG&gt; = Distance between two consecutive stations&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Then:&lt;/P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Volume=H3×(A1+A2+A1×A2)Volume = \frac{H}{3} \times (A1 + A2 + \sqrt{A1 \times A2})&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;V&lt;/SPAN&gt;&lt;SPAN class=""&gt;o&lt;/SPAN&gt;&lt;SPAN class=""&gt;l&lt;/SPAN&gt;&lt;SPAN class=""&gt;u&lt;/SPAN&gt;&lt;SPAN class=""&gt;m&lt;/SPAN&gt;&lt;SPAN class=""&gt;e&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;3&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;H&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;×&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;A&lt;/SPAN&gt;&lt;SPAN class=""&gt;1&lt;/SPAN&gt;&lt;SPAN class=""&gt;+&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;A&lt;/SPAN&gt;&lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;SPAN class=""&gt;+&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;A&lt;/SPAN&gt;1&lt;SPAN class=""&gt;×&lt;/SPAN&gt;&lt;SPAN class=""&gt;A&lt;/SPAN&gt;2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Workflow:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Read the station value from the header row and convert it to a numeric value.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;For each material row:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Read &lt;STRONG&gt;A1&lt;/STRONG&gt; from the previous table and &lt;STRONG&gt;A2&lt;/STRONG&gt; from the current table.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Compute the volume using the formula above.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Replace the volume text in column 3 of the current table.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Update the cumulative volume by adding the new volume to the cumulative volume of the previous table.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Replace the cumulative volume text in column 4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Repeat the process in order of increasing station values.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 27 Sep 2025 06:43:28 GMT</pubDate>
    <dc:creator>m_nasr55</dc:creator>
    <dc:date>2025-09-27T06:43:28Z</dc:date>
    <item>
      <title>Automatic Updating an exploded material table</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/automatic-updating-an-exploded-material-table/m-p/13827955#M355180</link>
      <description>&lt;P&gt;Technical Description – Updating Exploded Volume Tables in AutoCAD&lt;/P&gt;&lt;P&gt;We need to automate the update of exploded material volume tables in AutoCAD. Since these tables have been exploded, they no longer behave as native AutoCAD tables, and all values are just text entities.&lt;/P&gt;&lt;P&gt;Table Structure&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Header row (Station row)&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Format: Material(s) at Station 0+250.00&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Contains only one cell.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The station value (e.g., 0+250.00) is critical and must be extracted as a number.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Second row (Fixed column headers)&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Always contains four columns with the following fixed titles:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Material Name&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Area&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Volume&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Cumulative Volume&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Subsequent rows (Data rows)&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Each row corresponds to one material.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Column 1:&lt;/STRONG&gt; Material name (constant across the project but may differ between projects).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Column 2:&lt;/STRONG&gt; Area value (numeric).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Column 3:&lt;/STRONG&gt; Volume (to be calculated).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Column 4:&lt;/STRONG&gt; Cumulative Volume (to be updated).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Key Observations&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Row spacing from the second row onward equals &lt;STRONG&gt;3 × text height&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The X-insertion points of all values in each column are aligned with the column headers.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Calculation Method&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Volumes are calculated using the &lt;STRONG&gt;truncated cone formula&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Let &lt;STRONG&gt;A1&lt;/STRONG&gt; = Area in section 1&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Let &lt;STRONG&gt;A2&lt;/STRONG&gt; = Area in section 2&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Let &lt;STRONG&gt;H&lt;/STRONG&gt; = Distance between two consecutive stations&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Then:&lt;/P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Volume=H3×(A1+A2+A1×A2)Volume = \frac{H}{3} \times (A1 + A2 + \sqrt{A1 \times A2})&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;V&lt;/SPAN&gt;&lt;SPAN class=""&gt;o&lt;/SPAN&gt;&lt;SPAN class=""&gt;l&lt;/SPAN&gt;&lt;SPAN class=""&gt;u&lt;/SPAN&gt;&lt;SPAN class=""&gt;m&lt;/SPAN&gt;&lt;SPAN class=""&gt;e&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;3&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;H&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;×&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;A&lt;/SPAN&gt;&lt;SPAN class=""&gt;1&lt;/SPAN&gt;&lt;SPAN class=""&gt;+&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;A&lt;/SPAN&gt;&lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;SPAN class=""&gt;+&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;A&lt;/SPAN&gt;1&lt;SPAN class=""&gt;×&lt;/SPAN&gt;&lt;SPAN class=""&gt;A&lt;/SPAN&gt;2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Workflow:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Read the station value from the header row and convert it to a numeric value.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;For each material row:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Read &lt;STRONG&gt;A1&lt;/STRONG&gt; from the previous table and &lt;STRONG&gt;A2&lt;/STRONG&gt; from the current table.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Compute the volume using the formula above.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Replace the volume text in column 3 of the current table.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Update the cumulative volume by adding the new volume to the cumulative volume of the previous table.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Replace the cumulative volume text in column 4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Repeat the process in order of increasing station values.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Sep 2025 06:43:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/automatic-updating-an-exploded-material-table/m-p/13827955#M355180</guid>
      <dc:creator>m_nasr55</dc:creator>
      <dc:date>2025-09-27T06:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Updating an exploded material table</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/automatic-updating-an-exploded-material-table/m-p/13839317#M355420</link>
      <description>&lt;P&gt;Are you trying to rebuild the table or use fields?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 14:53:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/automatic-updating-an-exploded-material-table/m-p/13839317#M355420</guid>
      <dc:creator>VincentSheehan</dc:creator>
      <dc:date>2025-10-06T14:53:06Z</dc:date>
    </item>
  </channel>
</rss>

