<?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: Calculating Multi-surface walls in Collaboration with other software</title>
    <link>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200976#M24940</link>
    <description>I don't actually use the database to calculate the quantities - maybe I should look into that.&lt;BR /&gt;
&lt;BR /&gt;
I attach a property script to the walls.&lt;BR /&gt;
In that script i would just use the formula ...&lt;BR /&gt;
&lt;BR /&gt;
plaster_area = WALL_SURFACE_A - (WALL_LENGTH_A * 1.8 )&lt;BR /&gt;
&lt;BR /&gt;
Then I would output the "plaster_area" value to a text (tab or comma separated file) file in the format that I want.&lt;BR /&gt;
&lt;BR /&gt;
Not sure if this helps or is heading you in a different direction.&lt;BR /&gt;
But it looks like you got the result that you want.&lt;BR /&gt;
Barry.</description>
    <pubDate>Thu, 07 Apr 2011 02:30:37 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2011-04-07T02:30:37Z</dc:date>
    <item>
      <title>Calculating Multi-surface walls</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200968#M24932</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi All,&lt;BR /&gt;
first I would like to complement Eric Wilk from FC-CADlink on his&lt;BR /&gt;
most helpful book &lt;B&gt;"ARCHICAD - From CAD to quantity survey"&lt;/B&gt;.&lt;BR /&gt;
If any of you are still baffled by the "Calculate Menu (now hidden...)" -&lt;BR /&gt;
This is a real Eye-Opener!!!&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Now to the trick question (see attached image):&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
A. In a simple wall, I calculate the plaster finish area by using the  &lt;BR /&gt;
    "Surface A" reference Quantity.&lt;BR /&gt;
&lt;BR /&gt;
B. However, in a situation like a Tiled Bathroom Wall, the surface is&lt;BR /&gt;
    covered by TWO different Materials: &lt;BR /&gt;
    - The Tiles themselves, to the hight of 1.8m, which I calculate as&lt;BR /&gt;
       "Length" X 1.8&lt;BR /&gt;
    - The remaining Plaster above the Tiles&lt;BR /&gt;
&lt;BR /&gt;
The Plaster surface is a "Left-Over" quantity (The tiles have a &lt;BR /&gt;
"fixed height" of 180cm, The wall hight, however, can change from&lt;BR /&gt;
situation to  situation), and by reason, should be derived by calculating&lt;BR /&gt;
a subtraction:&lt;BR /&gt;
&lt;BR /&gt;
Total of "Surface A" - Area of Tiles = Plaster.&lt;BR /&gt;
&lt;BR /&gt;
In my database, I set up a Tile component which has a ratio of 1.8&lt;BR /&gt;
to the length of a wall, and a Plaster component with a ratio of 1 to&lt;BR /&gt;
"Surface A".&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;The question is this:&lt;/B&gt;&lt;BR /&gt;
&lt;FONT color="#001bff"&gt;How can one create a "Property Object" (that can link to such walls)&lt;BR /&gt;
in which both components are "read" from the database and then&lt;BR /&gt;
have a GDL script within the Property Object subtract "Tiles" from&lt;BR /&gt;
"Plaster"?&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
My GDL is a bit rusty, but I am sure it can be done via the Properties&lt;BR /&gt;
script and a database lookup (I Better get that new book by CADImage!)&lt;BR /&gt;
&lt;BR /&gt;
Ideas?&lt;BR /&gt;
&lt;BR /&gt;
PS: The issue is calculating the quantities per a SINGLE wall, so&lt;BR /&gt;
using an extra "tile" object or wall is not the solution.&lt;BR /&gt;
&lt;BR /&gt;
Thanks -&lt;BR /&gt;
&lt;BR /&gt;
Gil Rosenthal&lt;/R&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/9302i82179F64D4E2B250/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Question-1.jpg" title="Question-1.jpg" /&gt;</description>
      <pubDate>Wed, 06 Apr 2011 07:29:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200968#M24932</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-06T07:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Multi-surface walls</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200969#M24933</link>
      <description>You have already answered your own question.&lt;BR /&gt;
In your property script you need ... Surface_A-(LENGTH_A*1.8 ).&lt;BR /&gt;
&lt;BR /&gt;
This of course will assume that every wall you run the sript on will have 1.8m tile height.&lt;BR /&gt;
&lt;BR /&gt;
You can tell your script to only look at walls with a certain composite name.&lt;BR /&gt;
That way you can creat composites for walls with and without tiles or even ties of different heights.&lt;BR /&gt;
But still run the script on all walls and only get the output you want.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Wed, 06 Apr 2011 14:10:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200969#M24933</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2011-04-06T14:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Multi-surface walls</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200970#M24934</link>
      <description>Hi Barry,&lt;BR /&gt;
Thanks for the suggestion!&lt;BR /&gt;
I am having a really bad day here, clients, phones etc,&lt;BR /&gt;
and trying to sus the GDL syntax from my very limited&lt;BR /&gt;
sources is driving me nuts!&lt;BR /&gt;
My old GDL cookbook 2 seems to skip the issue of&lt;BR /&gt;
Property Scripts and the GDL manual is plain too cryptic...&lt;BR /&gt;
&lt;BR /&gt;
Can you post a user-friendly sample of how this is scripted&lt;BR /&gt;
in practice? &lt;BR /&gt;
I'm sure once someone shows me the way to go about this&lt;BR /&gt;
it would seem obviously simple to me too &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/E&gt;!&lt;BR /&gt;
&lt;BR /&gt;
Thanks -&lt;BR /&gt;
&lt;BR /&gt;
Gil</description>
      <pubDate>Wed, 06 Apr 2011 16:48:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200970#M24934</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-06T16:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Multi-surface walls</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200971#M24935</link>
      <description>Hi Gil,&lt;BR /&gt;
&lt;BR /&gt;
The GDL manual does not give adequate examples of Property Scripts, however there are sample scripts in the standard library that you can study.  And, of course, you have Eric Wilk's book.&lt;BR /&gt;
&lt;BR /&gt;
Something else you might consider for the example you give is to use a Component Schedule, which schedules the pieces of a complex profile wall (or composite).  If your tile is always at the same height, as you say, model a tile skin in your CP wall, and place your vertical stretch lines in the plaster area above it - so that the tile is always that high yet the wall can be made taller.&lt;BR /&gt;
&lt;BR /&gt;
If the numbers coming out of the Component Schedule (set up in your Project Map) are not exactly what you need, you can publish the schedule as a text (CSV) file which can be linked to an Excel spreadsheet, or Access/Filemaker database for further computation and reporting - most of which is easier than writing Property Scripts.&lt;BR /&gt;
&lt;BR /&gt;
Of course, if you want an entirely-inside-ArchiCAD solution, then back to GDL and property scripts and Eric's book. &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
Cheers,&lt;BR /&gt;
Karl</description>
      <pubDate>Wed, 06 Apr 2011 17:43:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200971#M24935</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2011-04-06T17:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Multi-surface walls</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200972#M24936</link>
      <description>This post from 2003 may be helpful...&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=755" target="_blank"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?t=755&lt;/A&gt;</description>
      <pubDate>Wed, 06 Apr 2011 17:50:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200972#M24936</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2011-04-06T17:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Multi-surface walls</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200973#M24937</link>
      <description>Hi Karl!&lt;BR /&gt;
Thanks - I actually came across this post a couple of hours back &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
What's up with Djordge these days? Still in Dubai?&lt;BR /&gt;
&lt;BR /&gt;
In this case I need the "entirely-inside-ArchiCAD solution", as I am&lt;BR /&gt;
linking AC to a national Quantity Survey Database, using the exact same&lt;BR /&gt;
Chapters &amp;amp; Keys - so it is rather easy to import hundreds of list items&lt;BR /&gt;
(via excell) into the AC database, including prices as they update quarterly,&lt;BR /&gt;
and also in the end, outputting the same keyed quantities from AC back&lt;BR /&gt;
into the national DB - to be incorporated in the more conventional format,&lt;BR /&gt;
if required.&lt;BR /&gt;
Err... the database has over 3000 line items!!!&lt;BR /&gt;
&lt;BR /&gt;
SO -&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Here is the obvious and dead simple solution&lt;/B&gt; (See attachments in this and following posts):&lt;BR /&gt;
&lt;BR /&gt;
1. All Components are linked into a Property Object from my custom DB.&lt;BR /&gt;
2. In case of the Plaster component (the one from which we need to subtract&lt;BR /&gt;
the area covered by the Tiling), the trick is as follows:&lt;BR /&gt;
- Link in the Plaster Component as usual&lt;BR /&gt;
- Change the "Proportional With..." field from "Surface A" to "CUSTOM"&lt;BR /&gt;
- In the CUSTOM field, type the following expression:&lt;BR /&gt;
   WALL_SURFACE_A-WALL_LENGTH_A*1.8&lt;BR /&gt;
&lt;BR /&gt;
3. These Global parameters were found at the end of the GDL manual, and&lt;BR /&gt;
    I am certain that other formulas can be developed from here (see &lt;BR /&gt;
    attached)&lt;BR /&gt;
&lt;BR /&gt;
4. Shown is the end result after importing in Excell. Notice the total&lt;BR /&gt;
    partition surface as calculated for the cement bricks (The test wall was 200/300cm)&lt;BR /&gt;
&lt;BR /&gt;
Cheers,&lt;BR /&gt;
&lt;BR /&gt;
Gil&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/8084i5828F0E8F5538390/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Question-1-Answer1.jpg" title="Question-1-Answer1.jpg" /&gt;</description>
      <pubDate>Wed, 06 Apr 2011 20:00:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200973#M24937</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-06T20:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Multi-surface walls</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200974#M24938</link>
      <description>...and the GDL Globals that make this work,&lt;BR /&gt;
found at the end of the GDL manual.&lt;BR /&gt;
I am sure more uses can be found for these &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/12200iA83B2964D764FFBA/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Question-1-Answer2.jpg" title="Question-1-Answer2.jpg" /&gt;</description>
      <pubDate>Wed, 06 Apr 2011 20:09:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200974#M24938</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-06T20:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Multi-surface walls</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200975#M24939</link>
      <description>... and the end result, ported to Excell.</description>
      <pubDate>Wed, 06 Apr 2011 20:11:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200975#M24939</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-06T20:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Multi-surface walls</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200976#M24940</link>
      <description>I don't actually use the database to calculate the quantities - maybe I should look into that.&lt;BR /&gt;
&lt;BR /&gt;
I attach a property script to the walls.&lt;BR /&gt;
In that script i would just use the formula ...&lt;BR /&gt;
&lt;BR /&gt;
plaster_area = WALL_SURFACE_A - (WALL_LENGTH_A * 1.8 )&lt;BR /&gt;
&lt;BR /&gt;
Then I would output the "plaster_area" value to a text (tab or comma separated file) file in the format that I want.&lt;BR /&gt;
&lt;BR /&gt;
Not sure if this helps or is heading you in a different direction.&lt;BR /&gt;
But it looks like you got the result that you want.&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 07 Apr 2011 02:30:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200976#M24940</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2011-04-07T02:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Multi-surface walls</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200977#M24941</link>
      <description>&lt;BLOCKQUOTE&gt;I don't actually use the database to calculate the quantities - maybe I should look into that.&lt;/BLOCKQUOTE&gt;

Barry, I can't disclose the full method devised by Eric Wilk,&lt;BR /&gt;
at least not without his consent, but using Excell allows one&lt;BR /&gt;
to very easily manage whole datasets within the AC database.&lt;BR /&gt;
One should definitely look into that!&lt;BR /&gt;
A very similar method is used by CADimage for their Keynotes solution!&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;I attach a property script to the walls.&lt;BR /&gt;
In that script i would just use the formula ...&lt;BR /&gt;
&lt;BR /&gt;
plaster_area = WALL_SURFACE_A - (WALL_LENGTH_A * 1.8 )&lt;/BLOCKQUOTE&gt;
 &lt;BR /&gt;
Q: Which part of the GDL object do you use to input the script?&lt;BR /&gt;
     I tried various places (Master Script, Property Script...), but&lt;BR /&gt;
     non returned the result needed.&lt;BR /&gt;
    Do you set up specific parameters ("plaster area") in the parameters&lt;BR /&gt;
    screen?</description>
      <pubDate>Thu, 07 Apr 2011 07:16:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200977#M24941</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-07T07:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Multi-surface walls</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200978#M24942</link>
      <description>&lt;BLOCKQUOTE&gt;Gil wrote:&lt;BR /&gt; &lt;BR /&gt;
Q: Which part of the GDL object do you use to input the script?&lt;BR /&gt;
     I tried various places (Master Script, Property Script...), but&lt;BR /&gt;
     non returned the result needed.&lt;BR /&gt;
    Do you set up specific parameters ("plaster area") in the parameters&lt;BR /&gt;
    screen?&lt;/BLOCKQUOTE&gt;

Create a separate property script object for the walls.&lt;BR /&gt;
I do all of the calculating and outputing from the Property Script of that property object.&lt;BR /&gt;
&lt;BR /&gt;
These can be linked "individually" to the walls in the wall settings or I have linked them to all walls in the "List Scheme setup".&lt;BR /&gt;
If you use the list scheme then make sure you tick the box in the walls setting (Listing &amp;amp; Labelling) to "Link Properties by Criteria".&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 07 Apr 2011 07:59:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200978#M24942</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2011-04-07T07:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Multi-surface walls</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200979#M24943</link>
      <description>The other image.&lt;BR /&gt;
Barry.&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/9287iBE8FB3D2C4B8CFA4/image-size/large?v=v2&amp;amp;px=999" border="0" alt="listing_settings.jpg" title="listing_settings.jpg" /&gt;</description>
      <pubDate>Thu, 07 Apr 2011 08:00:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Calculating-Multi-surface-walls/m-p/200979#M24943</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2011-04-07T08:00:32Z</dc:date>
    </item>
  </channel>
</rss>

