<?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: Formulas in Schedules in Collaboration with other software</title>
    <link>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48406#M4470</link>
    <description>&lt;BLOCKQUOTE&gt;There are cases where it's more reliable to do the calculation separately, such as if the value will be used in other calculations besides the PARAMETERS statement. For some reason, changing the value of the parameter does not always change the value of the variable. &lt;/BLOCKQUOTE&gt;

you right, the best is to place the equation in the master script as well (especially with zones).</description>
    <pubDate>Sat, 19 Apr 2008 05:57:42 GMT</pubDate>
    <dc:creator>Rob</dc:creator>
    <dc:date>2008-04-19T05:57:42Z</dc:date>
    <item>
      <title>Formulas in Schedules</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48396#M4460</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Is there a way to put a formula in a a cell of a schedule? I need to use in a zone schedule a field calculating one fifth of the area of the windows surface and showing it. Any help?&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 Mar 2008 13:59:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48396#M4460</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-03-11T13:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Formulas in Schedules</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48397#M4461</link>
      <description>it would be nice, but no</description>
      <pubDate>Tue, 11 Mar 2008 20:06:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48397#M4461</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2008-03-11T20:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Formulas in Schedules</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48398#M4462</link>
      <description>...and let's make it a wish&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=21689" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... hp?t=21689"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?t=21689&lt;/LINK_TEXT&gt;&lt;/A&gt;</description>
      <pubDate>Tue, 11 Mar 2008 21:58:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48398#M4462</guid>
      <dc:creator>Rob</dc:creator>
      <dc:date>2008-03-11T21:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Formulas in Schedules</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48399#M4463</link>
      <description>It is an essential wish, but in the meantime such calculations can be done in a customized zone stamp.&lt;BR /&gt;

&lt;PRE&gt;! parameter: winAreaFifth (real number type)

! In master script
winAreaFifth=ROOM_WINDS_SURF*0.2
PARAMETERS winAreaFifth= winAreaFifth&lt;/PRE&gt;

Then add that parameter to the schedule using Scheme Settings -&amp;gt; Fields -&amp;gt; Additional Parameters.</description>
      <pubDate>Wed, 12 Mar 2008 17:28:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48399#M4463</guid>
      <dc:creator>James Murray</dc:creator>
      <dc:date>2008-03-12T17:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Formulas in Schedules</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48400#M4464</link>
      <description>That's a great tip! but the value I want would be the fifth of Room_area instead of room_winds_surf. By the way, the room_winds_surf ignores windows smaller than 1 square meter. Where do I set this value?</description>
      <pubDate>Thu, 13 Mar 2008 19:33:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48400#M4464</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-03-13T19:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Formulas in Schedules</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48401#M4465</link>
      <description>Ok , I tried a lot but it didn't work. I created a zone stamp introducing two  parameters: One sets the factor of the calculation and one that calculates it. Everything works fine, but when I insert this parameter on a schedule it remains blank (appearing dashed lines instead) whenever I reopen the file. Here is the parameter calculation:&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;
! options for the factor calculation&lt;BR /&gt;
values "Vent_ilum_factor_name" "1/8","1/5"&lt;BR /&gt;
if Vent_ilum_factor_name="1/8" then Ilum_vent_factor=0.125&lt;BR /&gt;
if Vent_ilum_factor_name="1/5" then Ilum_vent_factor=0.2&lt;BR /&gt;
&lt;BR /&gt;
! calculating the needed illumination and ventilation area&lt;BR /&gt;
Ilum_vent_ar= ROOM_CALC_AREA*Ilum_vent_factor&lt;BR /&gt;
PARAMETERS Ilum_vent_area=Ilum_vent_ar&lt;BR /&gt;
&lt;BR /&gt;
! Showing the existent illumination and ventilation area&lt;BR /&gt;
Ilum_vent_exist= ROOM_WINDS_SURF&lt;BR /&gt;
PARAMETERS Ilum_vent_exist= Ilum_vent_exist&lt;/BLOCKQUOTE&gt;

What am I doing wrong?</description>
      <pubDate>Tue, 15 Apr 2008 14:40:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48401#M4465</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-15T14:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Formulas in Schedules</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48402#M4466</link>
      <description>I think there is no way of showing a value calculated by a script in the schedule, because the scripts are not run by the schedule. The zone stamp script calculates the thing for display in the 2D window but will do nothing about the schedule.</description>
      <pubDate>Tue, 15 Apr 2008 18:21:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48402#M4466</guid>
      <dc:creator>Ignacio Azpiazu</dc:creator>
      <dc:date>2008-04-15T18:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Formulas in Schedules</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48403#M4467</link>
      <description>1. Did you create the parameters "Ilum_vent_area" and "Ilum_vent_exist"? Dashed lines in a schedule usually means the parameter is not available in the object (stamp).&lt;BR /&gt;
&lt;BR /&gt;
2. Is the code in the Master Script?&lt;BR /&gt;
&lt;BR /&gt;
To be clear, you certainly can schedule parameters calculated in this way. My zone stamp has a custom parameter for the area in whole square feet, and it updates when the zone shape changes. (Just checked it, whew!) The math and PARAMETERS statement are in the master script.&lt;BR /&gt;
&lt;BR /&gt;
PARAMETERS can be used in the master or parameter scripts. Master is more robust in many cases. I believe the parameter script only runs in the settings dialog or when the object is otherwise edited, while the master will run when any script is run, which apparently includes building the schedule, thank goodness.</description>
      <pubDate>Tue, 15 Apr 2008 22:20:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48403#M4467</guid>
      <dc:creator>James Murray</dc:creator>
      <dc:date>2008-04-15T22:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Formulas in Schedules</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48404#M4468</link>
      <description>As James eluded to; you must create a PARAMETER in the Parameter List that corresponds to the ones you are defining in the script. (add PARAMETER and name it the same and make it the appropriate type)&lt;BR /&gt;
&lt;BR /&gt;
Also,  why are your PARAMETER definition using two steps?&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT color="#ff002d"&gt;&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;! calculating the needed illumination and ventilation area &lt;BR /&gt;
Ilum_vent_ar= ROOM_CALC_AREA*Ilum_vent_factor &lt;BR /&gt;
PARAMETERS Ilum_vent_area=Ilum_vent_ar &lt;BR /&gt;
&lt;BR /&gt;
! Showing the existent illumination and ventilation area &lt;BR /&gt;
Ilum_vent_exist= ROOM_WINDS_SURF &lt;BR /&gt;
PARAMETERS Ilum_vent_exist= Ilum_vent_exist&lt;E&gt;&lt;/E&gt;&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
Why couldn't you just type....&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;PARAMETERS Ilum_vent_area = ROOM_CALC_AREA*Ilum_vent_factor&lt;/B&gt;</description>
      <pubDate>Wed, 16 Apr 2008 20:05:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48404#M4468</guid>
      <dc:creator>vfrontiers</dc:creator>
      <dc:date>2008-04-16T20:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Formulas in Schedules</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48405#M4469</link>
      <description>&lt;BLOCKQUOTE&gt;vfrontiers wrote:&lt;BR /&gt;Why couldn't you just type....&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;PARAMETERS Ilum_vent_area = ROOM_CALC_AREA*Ilum_vent_factor&lt;/B&gt;&lt;/BLOCKQUOTE&gt;

There are cases where it's more reliable to do the calculation separately, such as if the value will be used in other calculations besides the PARAMETERS statement. For some reason, changing the value of the parameter does not always change the value of the variable.&lt;BR /&gt;
&lt;BR /&gt;
However, in this case of a simple PARAMETERS assignment, you can condense it to one line.</description>
      <pubDate>Thu, 17 Apr 2008 14:52:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48405#M4469</guid>
      <dc:creator>James Murray</dc:creator>
      <dc:date>2008-04-17T14:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Formulas in Schedules</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48406#M4470</link>
      <description>&lt;BLOCKQUOTE&gt;There are cases where it's more reliable to do the calculation separately, such as if the value will be used in other calculations besides the PARAMETERS statement. For some reason, changing the value of the parameter does not always change the value of the variable. &lt;/BLOCKQUOTE&gt;

you right, the best is to place the equation in the master script as well (especially with zones).</description>
      <pubDate>Sat, 19 Apr 2008 05:57:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48406#M4470</guid>
      <dc:creator>Rob</dc:creator>
      <dc:date>2008-04-19T05:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Formulas in Schedules</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48407#M4471</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
This can be found in the old &lt;A href="http://download.graphisoft.com/ftp/gdl/gdlprogstandards.pdf" target="_blank"&gt;GDL programming standards&lt;/A&gt; and seems still to be true after 8 years.&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;When resetting the value of a parameter in a certain condition in the&lt;BR /&gt;
Parameter Script using the “parameters” command, a similar statement must be put into the Master Script, especially if the modification of the second&lt;BR /&gt;
parameter changes the value of a third (or more) parameter. E.g.:&lt;BR /&gt;
if xx then parameters yy=1 (Parameter script)&lt;BR /&gt;
if xx then yy=1 (Master script)&lt;/BLOCKQUOTE&gt;

--&lt;BR /&gt;
Regards, Juha</description>
      <pubDate>Mon, 21 Apr 2008 19:55:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48407#M4471</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-21T19:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Formulas in Schedules</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48408#M4472</link>
      <description>&lt;BLOCKQUOTE&gt;Juha wrote:&lt;BR /&gt;This can be found in the old &lt;A href="http://download.graphisoft.com/ftp/gdl/gdlprogstandards.pdf" target="_blank"&gt;GDL programming standards&lt;/A&gt; and seems still to be true after 8 years.
&lt;/BLOCKQUOTE&gt;

Still true in the latest GDL Technical Standards. &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;A href="http://www.graphisoft.com/ftp/techsupport/documentation/developer_docs/BasicLibraryDoc/11/LibDevGuide/TechnicalStandards.html#title44" target="_blank"&gt;&lt;LINK_TEXT text="http://www.graphisoft.com/ftp/techsuppo ... ml#title44"&gt;http://www.graphisoft.com/ftp/techsupport/documentation/developer_docs/BasicLibraryDoc/11/LibDevGuide/TechnicalStandards.html#title44&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
In practice, if calculations are made in Master Script, and particulary when they are numerous,&lt;BR /&gt;
no need to re-type (Parameters Script): if bCondition then parameters yy = 1. &lt;BR /&gt;
You get the same result just typing: parameters  yy = yy, etc ...&lt;BR /&gt;
&lt;BR /&gt;
May be not "academicl" scripting, but efficient. Parameters always update for any situation. &lt;BR /&gt;
&lt;BR /&gt;
Cheers, &lt;BR /&gt;
Olivier</description>
      <pubDate>Thu, 24 Apr 2008 19:10:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48408#M4472</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-24T19:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: !Restored: Formulas in Schedules</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48409#M4473</link>
      <description>Anybody has a sense of what is going on here? I can't get the schedule to display two zone additional parameters, one of which you just fill in and the other one calculated in the master script --I just get those dashes.  The libraries are loaded OK as far as I can tell from Library Loading Report, zone settings preview and floor plans, those values display OK in the zone stamp everywhere. &lt;BR /&gt;
&lt;BR /&gt;
There is a 'Bldg Name' text parameter, 'II' in the screenshot. The stamp makes a string of Bldg Name + story number + zone number to create and display a unique 'apartment long number', 'II.5.06' in the screenshot. [These have been custom-scripted into a Tom Waltz's Superzone; AC11 1210 USA.]</description>
      <pubDate>Mon, 03 Nov 2008 16:05:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48409#M4473</guid>
      <dc:creator>Ignacio Azpiazu</dc:creator>
      <dc:date>2008-11-03T16:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: !Restored: Formulas in Schedules</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48410#M4474</link>
      <description>I just read the thread below, &lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=25495" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... hp?t=25495"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?t=25495&lt;/LINK_TEXT&gt;&lt;/A&gt; . Saved back to AC 10 and the parameters are displaying OK in the same schedules there. So the problem is a 10-to-11 thing. &lt;BR /&gt;
&lt;BR /&gt;
Wonder what the problem can be though --one of the problem parameters is a simple stupid fill-in text parameter.</description>
      <pubDate>Mon, 03 Nov 2008 16:28:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48410#M4474</guid>
      <dc:creator>Ignacio Azpiazu</dc:creator>
      <dc:date>2008-11-03T16:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Formulas in Schedules</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48411#M4475</link>
      <description>There was a minor change in the Master Script necessary for AC11. It was something that GS changed between AC10 and AC11 that only seemed to affect my object!&lt;BR /&gt;
&lt;BR /&gt;
For more info:&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=113423" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... p?p=113423"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?p=113423&lt;/LINK_TEXT&gt;&lt;/A&gt;</description>
      <pubDate>Mon, 03 Nov 2008 18:17:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48411#M4475</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2008-11-03T18:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Formulas in Schedules</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48412#M4476</link>
      <description>Wow thanks. I love AC talk, I love you all guys, and I think I am not drunk.</description>
      <pubDate>Mon, 03 Nov 2008 19:18:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Formulas-in-Schedules/m-p/48412#M4476</guid>
      <dc:creator>Ignacio Azpiazu</dc:creator>
      <dc:date>2008-11-03T19:18:05Z</dc:date>
    </item>
  </channel>
</rss>

