<?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: VOLUME3D() in Property Script in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/VOLUME3D-in-Property-Script/m-p/586234#M6253</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I had tried Volume (gross) first and that does not calculate for gdl object. Wiredly though it does work with Volume (net).&lt;/P&gt;&lt;P&gt;Thanks for pointing me into the right direction.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2024 10:03:23 GMT</pubDate>
    <dc:creator>jonasm</dc:creator>
    <dc:date>2024-02-01T10:03:23Z</dc:date>
    <item>
      <title>VOLUME3D() in Property Script</title>
      <link>https://community.graphisoft.com/t5/GDL/VOLUME3D-in-Property-Script/m-p/586119#M6250</link>
      <description>&lt;P&gt;I built a GDL Object to represent a precast concrete object that has a few modifiers, to be adusted to different situations in the building. Now I would like to put the Volume and Total Surface into Parameters to read them through Labels and write them into a IFC File.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I discovered Volume3D() and Surface3d(), those produce the desired value. Only problem, they are only executed in The Property Script. I have read somewhere that I could use the TEXT I/O Addon to write the values into a text file, and then read them again in the 2D script. But I can`t get the TEXT I/O Addon to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is what I am trying, but it is not outputting anything:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;!! 2D Script&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ch1 &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;OPEN&lt;/SPAN&gt; &lt;SPAN&gt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&gt;,&lt;/SPAN&gt; &lt;SPAN&gt;"MODE = WO, LIBRARY"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;OUTPUT&lt;SPAN&gt; ch1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN&gt;volume3D&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;BR /&gt;&lt;/SPAN&gt;CLOSE&lt;SPAN&gt; ch1&lt;/SPAN&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 11:21:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/VOLUME3D-in-Property-Script/m-p/586119#M6250</guid>
      <dc:creator>jonasm</dc:creator>
      <dc:date>2024-09-26T11:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: VOLUME3D() in Property Script</title>
      <link>https://community.graphisoft.com/t5/GDL/VOLUME3D-in-Property-Script/m-p/586213#M6251</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ToperBarrientos_0-1706775368848.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/52696iB138CE32654F1AC1/image-size/large?v=v2&amp;amp;px=999" role="button" title="ToperBarrientos_0-1706775368848.png" alt="ToperBarrientos_0-1706775368848.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;We can also try the Volume (built-in parameters) fr. archicad's properties (property manager)-- can be use in labels, as well as generated in IFC formats. e.g. create a property , then map the "Volume"&amp;nbsp; to your customed properties (volume as type) and link to all classification...this is faster &amp;amp; easier.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 01:53:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/VOLUME3D-in-Property-Script/m-p/586213#M6251</guid>
      <dc:creator>Toper Barrientos</dc:creator>
      <dc:date>2024-02-05T01:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: VOLUME3D() in Property Script</title>
      <link>https://community.graphisoft.com/t5/GDL/VOLUME3D-in-Property-Script/m-p/586234#M6253</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I had tried Volume (gross) first and that does not calculate for gdl object. Wiredly though it does work with Volume (net).&lt;/P&gt;&lt;P&gt;Thanks for pointing me into the right direction.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 10:03:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/VOLUME3D-in-Property-Script/m-p/586234#M6253</guid>
      <dc:creator>jonasm</dc:creator>
      <dc:date>2024-02-01T10:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: VOLUME3D() in Property Script</title>
      <link>https://community.graphisoft.com/t5/GDL/VOLUME3D-in-Property-Script/m-p/586922#M6280</link>
      <description>&lt;P&gt;Anyhow, the OPEN command doesn't create the file, it has to exist.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 09:36:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/VOLUME3D-in-Property-Script/m-p/586922#M6280</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2024-02-06T09:36:58Z</dc:date>
    </item>
  </channel>
</rss>

