<?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: Expression to return the volume of earth cut in Documentation</title>
    <link>https://community.graphisoft.com/t5/Documentation/Expression-to-return-the-volume-of-earth-cut/m-p/309378#M48124</link>
    <description>&lt;P&gt;It's not too much trouble to just model the excavation, backfill, grading, paving... is it?&amp;nbsp; &amp;nbsp;Then it is just a simple matter of Scheduling the volumes.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Oct 2021 03:59:01 GMT</pubDate>
    <dc:creator>Steve Jepson</dc:creator>
    <dc:date>2021-10-15T03:59:01Z</dc:date>
    <item>
      <title>Expression to return the volume of earth cut</title>
      <link>https://community.graphisoft.com/t5/Documentation/Expression-to-return-the-volume-of-earth-cut/m-p/309364#M48119</link>
      <description>&lt;P&gt;When documenting the earthworks on a project we draw two meshes.&lt;/P&gt;&lt;P&gt;One which is based on the original survey data, this mesh doesn't change through the life of the project.&lt;/P&gt;&lt;P&gt;The other is a copy of the original, which has all the solid operations etc.&lt;/P&gt;&lt;P&gt;Each has their own layer and relevant reno status.&lt;/P&gt;&lt;P&gt;Both have the same Classification as in that respect they are the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can use a schedule to show the volume of both, then manually calculated the difference which is either the cut or fill volume. Can also export to excel, do the same, then import again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want to achieve is a schedule that automatically displays the cut volume.&lt;/P&gt;&lt;P&gt;I have started to go down the path of expressions, however the expression is just a property assigned to an element, I don't know if/how you could even say property = the Net Volume of X, - the Net Volume of Y.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;The below is a bad example of how it doesn't work.&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="Screenshot 2021-10-15 152323.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/5907i21A836F8285DB8E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-10-15 152323.png" alt="Screenshot 2021-10-15 152323.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-10-15 152714.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/5908i3447E66EC93A7C72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-10-15 152714.png" alt="Screenshot 2021-10-15 152714.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 02:28:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Expression-to-return-the-volume-of-earth-cut/m-p/309364#M48119</guid>
      <dc:creator>Josh Verran</dc:creator>
      <dc:date>2021-10-15T02:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to return the volume of earth cut</title>
      <link>https://community.graphisoft.com/t5/Documentation/Expression-to-return-the-volume-of-earth-cut/m-p/309369#M48120</link>
      <description>&lt;P&gt;Unfortunately, the 2 meshes are not aware of each other, so you can't automatically get the volume of mesh X to use in the calculations of mesh Y.&lt;/P&gt;
&lt;P&gt;You would have to manually enter the volume of the first mesh in a property for the second mesh.&lt;/P&gt;
&lt;P&gt;Once you know the volume of the original site mesh, it should in theory never change.&lt;/P&gt;
&lt;P&gt;So it should be safe to manually input that volume into the calculations for your other meshes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 03:07:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Expression-to-return-the-volume-of-earth-cut/m-p/309369#M48120</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2021-10-15T03:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to return the volume of earth cut</title>
      <link>https://community.graphisoft.com/t5/Documentation/Expression-to-return-the-volume-of-earth-cut/m-p/309370#M48121</link>
      <description>&lt;P&gt;Is it possible to add the volume as a figure in the 'Project Info' and then use that in the calculation formula for your other mesh?&lt;/P&gt;
&lt;P&gt;I haven't tried, so I am not sure if the property expressions can get values from the project info.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 03:12:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Expression-to-return-the-volume-of-earth-cut/m-p/309370#M48121</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2021-10-15T03:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to return the volume of earth cut</title>
      <link>https://community.graphisoft.com/t5/Documentation/Expression-to-return-the-volume-of-earth-cut/m-p/309373#M48122</link>
      <description>&lt;P&gt;You can get volumes from the project info, it just comes in as a string and you have to convert it to a number (STRTONUM) and multiply it by a unit (* 1 m3), used to do a similar thing for site area/site cover with zones.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 03:42:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Expression-to-return-the-volume-of-earth-cut/m-p/309373#M48122</guid>
      <dc:creator>JaseBee</dc:creator>
      <dc:date>2021-10-15T03:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to return the volume of earth cut</title>
      <link>https://community.graphisoft.com/t5/Documentation/Expression-to-return-the-volume-of-earth-cut/m-p/309378#M48124</link>
      <description>&lt;P&gt;It's not too much trouble to just model the excavation, backfill, grading, paving... is it?&amp;nbsp; &amp;nbsp;Then it is just a simple matter of Scheduling the volumes.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 03:59:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Expression-to-return-the-volume-of-earth-cut/m-p/309378#M48124</guid>
      <dc:creator>Steve Jepson</dc:creator>
      <dc:date>2021-10-15T03:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to return the volume of earth cut</title>
      <link>https://community.graphisoft.com/t5/Documentation/Expression-to-return-the-volume-of-earth-cut/m-p/309379#M48125</link>
      <description>&lt;P&gt;Expressions are confined to the properties of the element to which they are assigned. You can not use properties of two different elements in one expression.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, a Python script can access the Net Volume attribute of both Meshs and you could calculate the difference within that script. The script could them copy the net result into a user created property common to both meshes which would then also be available within a schedule..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The downside is that a Python script can only be manually initiated (update) but you could create a shortcut icon to trigger the script (and schedule) by a simple mouse click.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 03:50:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Expression-to-return-the-volume-of-earth-cut/m-p/309379#M48125</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2021-10-15T03:50:33Z</dc:date>
    </item>
  </channel>
</rss>

