<?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 Parameter Script Compatibility in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Parameter-Script-Compatibility/m-p/285547#M5597</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;According to the GDL Reference Guide, &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;"View or project dependent global variables should not be used in parameter scripts (or master scripts run as parameter script) to avoid the parameter script run occasions and the resulting parameter values becoming context dependent, inconsistent within the planfile."&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
This new setting in ArchiCAD 20 is affecting many of our custom objects that use the Glob-Scale variable in the Parameter script.  Any suggestions for a work around?  I have tried moving the Parameter code to the 2D section without success.&lt;BR /&gt;
&lt;BR /&gt;
How are folks dealing with this in their custom objects?&lt;/R&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 16 May 2017 16:44:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-05-16T16:44:24Z</dc:date>
    <item>
      <title>Parameter Script Compatibility</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Parameter-Script-Compatibility/m-p/285547#M5597</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;According to the GDL Reference Guide, &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;"View or project dependent global variables should not be used in parameter scripts (or master scripts run as parameter script) to avoid the parameter script run occasions and the resulting parameter values becoming context dependent, inconsistent within the planfile."&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
This new setting in ArchiCAD 20 is affecting many of our custom objects that use the Glob-Scale variable in the Parameter script.  Any suggestions for a work around?  I have tried moving the Parameter code to the 2D section without success.&lt;BR /&gt;
&lt;BR /&gt;
How are folks dealing with this in their custom objects?&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 16 May 2017 16:44:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Parameter-Script-Compatibility/m-p/285547#M5597</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-16T16:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Script Compatibility</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Parameter-Script-Compatibility/m-p/285548#M5598</link>
      <description>Same question here - I have an object where I used GLOB_HSTORY_ELEV and GLOB_HSTORY_HEIGHT as well as all the geolocation GLOB parameters. &lt;BR /&gt;
Now ina AC20  it does not work according to this:&lt;BR /&gt;
&lt;A href="http://gdl.graphisoft.com/reference-guide/global-variables" target="_blank"&gt;&lt;LINK_TEXT text="http://gdl.graphisoft.com/reference-gui ... -variables"&gt;http://gdl.graphisoft.com/reference-guide/global-variables&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
What's the guideline for GLOB paramaters now ?</description>
      <pubDate>Fri, 02 Jun 2017 08:00:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Parameter-Script-Compatibility/m-p/285548#M5598</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-02T08:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Script Compatibility</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Parameter-Script-Compatibility/m-p/285549#M5599</link>
      <description>Avoid using them in parameter script and masterscript...&lt;BR /&gt;
&lt;BR /&gt;
Best Regards,&lt;BR /&gt;
Piotr</description>
      <pubDate>Fri, 02 Jun 2017 08:13:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Parameter-Script-Compatibility/m-p/285549#M5599</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2017-06-02T08:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Script Compatibility</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Parameter-Script-Compatibility/m-p/285550#M5600</link>
      <description>&lt;BLOCKQUOTE&gt;Piotr wrote:&lt;BR /&gt;Avoid using them in parameter script and masterscript...&lt;BR /&gt;
&lt;BR /&gt;
Best Regards,&lt;BR /&gt;
Piotr&lt;/BLOCKQUOTE&gt;

I use them in 2D Script,&lt;BR /&gt;
and it does not work as well. &lt;BR /&gt;
&lt;BR /&gt;
It looks like they don't work anywhere ... &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;</description>
      <pubDate>Fri, 02 Jun 2017 08:21:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Parameter-Script-Compatibility/m-p/285550#M5600</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-02T08:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Script Compatibility</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Parameter-Script-Compatibility/m-p/285551#M5601</link>
      <description>&lt;BLOCKQUOTE&gt;philips wrote:&lt;BR /&gt;
I use them in 2D Script,&lt;BR /&gt;
and it does not work as well. &lt;BR /&gt;
&lt;BR /&gt;
It looks like they don't work anywhere ... &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;&lt;/BLOCKQUOTE&gt;

As far as I know they should work fine in 2D or 3D scripts.&lt;BR /&gt;
Just not in master and parameter scripts.&lt;BR /&gt;
&lt;BR /&gt;
If you have an example of something not working maybe you can attach it to a post and someone can have a look.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Fri, 02 Jun 2017 08:32:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Parameter-Script-Compatibility/m-p/285551#M5601</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2017-06-02T08:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Script Compatibility</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Parameter-Script-Compatibility/m-p/285552#M5602</link>
      <description>&lt;BLOCKQUOTE&gt;philips wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;Piotr wrote:&lt;BR /&gt;Avoid using them in parameter script and masterscript...&lt;BR /&gt;
&lt;BR /&gt;
Best Regards,&lt;BR /&gt;
Piotr&lt;/BLOCKQUOTE&gt;

I use them in 2D Script,&lt;BR /&gt;
and it does not work as well. &lt;BR /&gt;
&lt;BR /&gt;
It looks like they don't work anywhere ... &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;&lt;/BLOCKQUOTE&gt;

If You are the one that asked WSC about it, You have in return my object that works.&lt;BR /&gt;
&lt;BR /&gt;
Best Regards,&lt;BR /&gt;
Piotr</description>
      <pubDate>Fri, 02 Jun 2017 11:43:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Parameter-Script-Compatibility/m-p/285552#M5602</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2017-06-02T11:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Script Compatibility</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Parameter-Script-Compatibility/m-p/285553#M5603</link>
      <description>My opinion on changes to global and parameter scripts.&lt;BR /&gt;
&lt;BR /&gt;
View based globals should not affect the parameter script&lt;BR /&gt;
Project based globals should be allowed to affect the parameter script&lt;BR /&gt;
&lt;BR /&gt;
why?&lt;BR /&gt;
GLOB_CONTEXT	 &lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view&lt;BR /&gt;
&lt;BR /&gt;
GLOB_VIEW_TYPE	&lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view&lt;BR /&gt;
&lt;BR /&gt;
GLOB_SCALE	&lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view&lt;BR /&gt;
&lt;BR /&gt;
GLOB_DRAWING_BGD_PEN&lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view&lt;BR /&gt;
	&lt;BR /&gt;
GLOB_FRAME_NR	&lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view&lt;BR /&gt;
&lt;BR /&gt;
GLOB_FIRST_FRAME	&lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view&lt;BR /&gt;
&lt;BR /&gt;
GLOB_LAST_FRAME	&lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view&lt;BR /&gt;
&lt;BR /&gt;
GLOB_EYEPOS_X	&lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view&lt;BR /&gt;
&lt;BR /&gt;
GLOB_EYEPOS_Y	&lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view&lt;BR /&gt;
&lt;BR /&gt;
GLOB_EYEPOS_Z	&lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view&lt;BR /&gt;
&lt;BR /&gt;
GLOB_TARGPOS_X	&lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view&lt;BR /&gt;
&lt;BR /&gt;
GLOB_TARGPOS_Y	&lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view&lt;BR /&gt;
&lt;BR /&gt;
GLOB_TARGPOS_Z	&lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
GLOB_NORTH_DIR	&lt;BR /&gt;
project based, not view based.&lt;BR /&gt;
the library part needs to know what this is...&lt;BR /&gt;
this is a fixed value that will not change based on views&lt;BR /&gt;
this needs to affect parameters, i.e. solar panels need to face the sun, sunshades to to adjust due to east/west/north/south orientation&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
GLOB_PROJECT_LONGITUDE	&lt;BR /&gt;
project based, not view based.&lt;BR /&gt;
the library part needs to know what this is...&lt;BR /&gt;
this is a fixed value that will not change based on views&lt;BR /&gt;
this needs to affect parameters, i.e. solar panels need to face the sun, sunshades to to adjust due to east/west/north/south orientation&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
GLOB_PROJECT_LATITUDE	&lt;BR /&gt;
project based, not view based.&lt;BR /&gt;
the library part needs to know what this is...&lt;BR /&gt;
this is a fixed value that will not change based on views&lt;BR /&gt;
this needs to affect parameters, i.e. solar panels need to face the sun, sunshades to to adjust due to east/west/north/south orientation&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
GLOB_PROJECT_ALTITUDE	&lt;BR /&gt;
project based, not view based.&lt;BR /&gt;
the house may need to know this. higher altitudes may need more insulation, etc...&lt;BR /&gt;
&lt;BR /&gt;
GLOB_PROJECT_DATE	&lt;BR /&gt;
project based, not view based.&lt;BR /&gt;
May be i want the library part to change its behavior after a certain date, regulation change on or after a date...&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
GLOB_WORLD_ORIGO_OFFSET_X	&lt;BR /&gt;
project based, not view based.&lt;BR /&gt;
&lt;BR /&gt;
GLOB_WORLD_ORIGO_OFFSET_Y	&lt;BR /&gt;
project based, not view based.&lt;BR /&gt;
&lt;BR /&gt;
GLOB_CUTPLANES_INFO	&lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view&lt;BR /&gt;
&lt;BR /&gt;
GLOB_STRUCTURE_DISPLAY	&lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view&lt;BR /&gt;
&lt;BR /&gt;
LAYOUT_CURRENTREVISION_OPEN	&lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view&lt;BR /&gt;
&lt;BR /&gt;
GLOB_HSTORY_ELEV	&lt;BR /&gt;
not view based&lt;BR /&gt;
the library part may need to know what this is.&lt;BR /&gt;
&lt;BR /&gt;
GLOB_HSTORY_HEIGHT	&lt;BR /&gt;
not view based&lt;BR /&gt;
the library part may need to know what this is.&lt;BR /&gt;
&lt;BR /&gt;
GLOB_CSTORY_ELEV	&lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view&lt;BR /&gt;
&lt;BR /&gt;
GLOB_CSTORY_HEIGHT	&lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view&lt;BR /&gt;
&lt;BR /&gt;
GLOB_CH_STORY_DIST	&lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view&lt;BR /&gt;
&lt;BR /&gt;
GLOB_SUN_AZIMUTH	&lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view&lt;BR /&gt;
&lt;BR /&gt;
GLOB_SUN_ALTITUDE	&lt;BR /&gt;
yes, could change in different views&lt;BR /&gt;
parameters shouldn't change due to the view</description>
      <pubDate>Wed, 07 Jun 2017 01:35:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Parameter-Script-Compatibility/m-p/285553#M5603</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-07T01:35:40Z</dc:date>
    </item>
  </channel>
</rss>

