<?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: Deprecated parameters &amp;amp; variables...shouldn't be (sometimes) in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Deprecated-parameters-amp-variables-shouldn-t-be-sometimes/m-p/353895#M2153</link>
    <description>&lt;P&gt;Dear Bruce!&lt;BR /&gt;From AC 20 the Project- and View Dependent Globals and many Requests have been restricted in Parameter Script (and Master Script as well), such as the two mentioned in this topic.&lt;/P&gt;&lt;P&gt;The main reason behind the restriction is that the parameter script (parameter consolidation) should not be run in case of changing something on the view or in the project settings (such as changing the North Direction, View Scale, Origin Location, etc. or editing Complex Profiles or Composites). The other reason is that this globals and requests can't run parameter consolidation during TeamWork.&lt;/P&gt;&lt;P&gt;For further information you can see the GDL Reference Guide at &lt;A href="https://gdl.Graphisoft.com/" target="_blank" rel="noopener"&gt;https://gdl.Graphisoft.com/&lt;/A&gt; or the PDF added to the Archicad's Documentation folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
    <pubDate>Wed, 24 Aug 2022 09:41:00 GMT</pubDate>
    <dc:creator>Peter Nagy-Barta</dc:creator>
    <dc:date>2022-08-24T09:41:00Z</dc:date>
    <item>
      <title>Deprecated parameters &amp; variables...shouldn't be (sometimes)</title>
      <link>https://community.graphisoft.com/t5/GDL/Deprecated-parameters-amp-variables-shouldn-t-be-sometimes/m-p/353403#M2152</link>
      <description>&lt;P&gt;I know Graphisoft had what they considered ironclad reasons for deprecating the parameters that they did, and I've had these conversations before.&amp;nbsp; But it is still causing me grief, and I am still unconvinced it needs to be this way.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Two examples:&lt;/P&gt;
&lt;P&gt;1. GLOB_NORTH_DIR: I am scripting parts that test for compliance with the local planning guidelines.&amp;nbsp; One of these is a balcony check that is dependent on the orientation of the balcony: north, south, east west.&amp;nbsp; I should be able to check this against the GLOB_NORTH_DIR...but this isn't available in the parameter script, which means I now must rely on the user to manually enter the Project North in the part.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;REQUEST("Profile_components"...:&amp;nbsp; I have scripted an all-purpose surface label that gets around the shortcomings of the Archicad one.&amp;nbsp; It will read from doors, windows, objects,...and complex profiles.&amp;nbsp; One of the functionalities I would like to include is the ability to filter the surfaces in the complex profile for the user to select from.&amp;nbsp; This can't be done in the parameter script, so the user is left selecting from the entire project surface catalogue, and the labels tests the validity of the selection after the fact: rather backwards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't see any problem with the management of attributes and their impact on objects being left to the BIM managers of the file, and not being locked out of this functionality.&amp;nbsp; There are plenty of examples where this happens currently (e.g. changing a scheduling parameter in the script).&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 08:29:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Deprecated-parameters-amp-variables-shouldn-t-be-sometimes/m-p/353403#M2152</guid>
      <dc:creator>Bruce</dc:creator>
      <dc:date>2024-09-24T08:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Deprecated parameters &amp; variables...shouldn't be (sometimes)</title>
      <link>https://community.graphisoft.com/t5/GDL/Deprecated-parameters-amp-variables-shouldn-t-be-sometimes/m-p/353895#M2153</link>
      <description>&lt;P&gt;Dear Bruce!&lt;BR /&gt;From AC 20 the Project- and View Dependent Globals and many Requests have been restricted in Parameter Script (and Master Script as well), such as the two mentioned in this topic.&lt;/P&gt;&lt;P&gt;The main reason behind the restriction is that the parameter script (parameter consolidation) should not be run in case of changing something on the view or in the project settings (such as changing the North Direction, View Scale, Origin Location, etc. or editing Complex Profiles or Composites). The other reason is that this globals and requests can't run parameter consolidation during TeamWork.&lt;/P&gt;&lt;P&gt;For further information you can see the GDL Reference Guide at &lt;A href="https://gdl.Graphisoft.com/" target="_blank" rel="noopener"&gt;https://gdl.Graphisoft.com/&lt;/A&gt; or the PDF added to the Archicad's Documentation folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 09:41:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Deprecated-parameters-amp-variables-shouldn-t-be-sometimes/m-p/353895#M2153</guid>
      <dc:creator>Peter Nagy-Barta</dc:creator>
      <dc:date>2022-08-24T09:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Deprecated parameters &amp; variables...shouldn't be (sometimes)</title>
      <link>https://community.graphisoft.com/t5/GDL/Deprecated-parameters-amp-variables-shouldn-t-be-sometimes/m-p/354174#M2154</link>
      <description>&lt;P&gt;Is the parameter script the only way to solve these needs?&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;You can do the check in the 2D script and draw the balcony in red (or don't draw it at all) if the orientation is not correct. You could change the 2D appearance only for listing context (maybe adding an MVO setting to not have an effect on all schedules).&lt;/LI&gt;
&lt;LI&gt;ui_infield can be filtered in the UI script too. Your case needs a workaround, as filtering is only available if VALUES are set in the parameter script, but we don't know how many surfaces are there in the plan. SelectedSurface needs to be an integer parameter, surfaces can't be filtered currently. It might work better with UI_CUSTOM_POPUP_INFIELD, I haven't tried that.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;parameter script:&lt;/P&gt;
&lt;DIV style="color: #000000; background-color: #ffffff; font-family: Consolas, 'Courier New', monospace; font-weight: normal; font-size: 12px; line-height: 16px; white-space: pre;"&gt;
&lt;PRE&gt;&lt;SPAN&gt;dim&lt;/SPAN&gt;&lt;SPAN&gt; vals[], strings[]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for&lt;/SPAN&gt;&lt;SPAN&gt; i &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;1&lt;/SPAN&gt; &lt;SPAN&gt;to&lt;/SPAN&gt; &lt;SPAN&gt;32000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; vals[i] &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; i&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; strings[i] &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;str&lt;/SPAN&gt;&lt;SPAN&gt;(i, &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;next&lt;/SPAN&gt;&lt;SPAN&gt; i&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;values{2}&lt;/SPAN&gt; &lt;SPAN&gt;"SelectedSurface"&lt;/SPAN&gt;&lt;SPAN&gt; vals, strings&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;DIV style="color: #000000; background-color: #ffffff; font-family: Consolas, 'Courier New', monospace; font-weight: normal; font-size: 12px; line-height: 16px; white-space: pre;"&gt;
&lt;P&gt;&lt;SPAN&gt;UI script:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;ui_infield{3} SelectedProfile, 0, 0, 200, 24&lt;BR /&gt;n &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;REQUEST&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;"Profile_components"&lt;/SPAN&gt;&lt;SPAN&gt;, SelectedProfile, nComponents)&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;! set up filter&lt;BR /&gt;dim&lt;/SPAN&gt;&lt;SPAN&gt; pics[], strings[], vals[]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for&lt;/SPAN&gt;&lt;SPAN&gt; i &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;1&lt;/SPAN&gt; &lt;SPAN&gt;to&lt;/SPAN&gt;&lt;SPAN&gt; nComponents&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; iSurface &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; n &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;REQUEST{4}&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;"Profile_component_info"&lt;/SPAN&gt;&lt;SPAN&gt;, SelectedProfile, i, &lt;/SPAN&gt;&lt;SPAN&gt;"gs_profile_surface"&lt;/SPAN&gt;&lt;SPAN&gt;, iSurface)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; sSurfaceName &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;""&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; n &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;REQUEST&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;"Name_of_material"&lt;/SPAN&gt;&lt;SPAN&gt;, iSurface, sSurfaceName)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; pics[i] &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; strings[i] &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; sSurfaceName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; vals[i] &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; iSurface&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;next&lt;/SPAN&gt;&lt;SPAN&gt; i&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;! currently selected surface might not be available in selected profile&lt;BR /&gt;sSurfaceName &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;""&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;n &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;REQUEST&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;"Name_of_material"&lt;/SPAN&gt;&lt;SPAN&gt;, SelectedSurface, sSurfaceName)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ui_infield{3}&lt;/SPAN&gt;&lt;SPAN&gt; SelectedSurface, &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;25&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;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lt;SPAN&gt; sSurfaceName, &lt;/SPAN&gt;&lt;SPAN&gt;210&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;30&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;200&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;19&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 26 Aug 2022 12:53:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Deprecated-parameters-amp-variables-shouldn-t-be-sometimes/m-p/354174#M2154</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2022-08-26T12:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Deprecated parameters &amp; variables...shouldn't be (sometimes)</title>
      <link>https://community.graphisoft.com/t5/GDL/Deprecated-parameters-amp-variables-shouldn-t-be-sometimes/m-p/354355#M2155</link>
      <description>&lt;P&gt;Thanks Peter.&amp;nbsp; How do I schedule the orientation of a balcony using these methods?&amp;nbsp; I need to produce a schedule that not only shows the orientation of the balcony (N, S, E, W), but also whether its m² complies - which is dependent on its orientation.&amp;nbsp; To my knowledge, I can only schedule parameters.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Aug 2022 22:38:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Deprecated-parameters-amp-variables-shouldn-t-be-sometimes/m-p/354355#M2155</guid>
      <dc:creator>Bruce</dc:creator>
      <dc:date>2022-08-28T22:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Deprecated parameters &amp; variables...shouldn't be (sometimes)</title>
      <link>https://community.graphisoft.com/t5/GDL/Deprecated-parameters-amp-variables-shouldn-t-be-sometimes/m-p/354547#M2156</link>
      <description>&lt;P&gt;You can show 2D in schedule, and use GLOB_PREVIEW_MODE = 2 to draw the result of the validation.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 07:35:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Deprecated-parameters-amp-variables-shouldn-t-be-sometimes/m-p/354547#M2156</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2022-08-30T07:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Deprecated parameters &amp; variables...shouldn't be (sometimes)</title>
      <link>https://community.graphisoft.com/t5/GDL/Deprecated-parameters-amp-variables-shouldn-t-be-sometimes/m-p/354570#M2157</link>
      <description>&lt;P&gt;That would then be a 2D preview, as opposed to a text field, right?&amp;nbsp; Even if the preview was text (via TEXT2 / RICHTEXT2), it wouldn't be exportable / sortable as a text field?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 08:47:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Deprecated-parameters-amp-variables-shouldn-t-be-sometimes/m-p/354570#M2157</guid>
      <dc:creator>Bruce</dc:creator>
      <dc:date>2022-08-30T08:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Deprecated parameters &amp; variables...shouldn't be (sometimes)</title>
      <link>https://community.graphisoft.com/t5/GDL/Deprecated-parameters-amp-variables-shouldn-t-be-sometimes/m-p/355003#M2158</link>
      <description>&lt;P&gt;That's true.&lt;/P&gt;
&lt;P&gt;Maybe it could be done with a property expression without GDL? Almost - "Area" is available for objects as AxB, but "Angle from North" is for Curtain wall panels only. I will ask why we restrict that.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 13:25:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Deprecated-parameters-amp-variables-shouldn-t-be-sometimes/m-p/355003#M2158</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2022-09-02T13:25:59Z</dc:date>
    </item>
  </channel>
</rss>

