<?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 Can Renovation status be used for different 2D scripting? in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284300#M3660</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Thinking of trees and using renovation filters... new tree, existing, to be removed... I would like the 2D script to use renovation status....is is possible and/or doable?&lt;BR /&gt;/Mats&lt;/DIV&gt;</description>
    <pubDate>Wed, 15 Sep 2021 07:44:44 GMT</pubDate>
    <dc:creator>Mats_Knutsson</dc:creator>
    <dc:date>2021-09-15T07:44:44Z</dc:date>
    <item>
      <title>Can Renovation status be used for different 2D scripting?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284300#M3660</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Thinking of trees and using renovation filters... new tree, existing, to be removed... I would like the 2D script to use renovation status....is is possible and/or doable?&lt;BR /&gt;/Mats&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Sep 2021 07:44:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284300#M3660</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2021-09-15T07:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can Renovation status be used for different 2D scripting?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284301#M3661</link>
      <description>Seems like an important missed variable in GDL. The only apparent access is through Autotext values but I think this is restricted to certain applications such as TEXT2.</description>
      <pubDate>Wed, 30 Sep 2020 13:48:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284301#M3661</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2020-09-30T13:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can Renovation status be used for different 2D scripting?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284302#M3662</link>
      <description>&lt;BLOCKQUOTE&gt;GDL wrote:&lt;BR /&gt;Built-in Properties&lt;BR /&gt;
These commands return the folder names, parameter names and parameter values of built-in properties on the "Classification and Properties"&lt;BR /&gt;
tabpage (ID and Categories, Renovation, IFC Properties).&lt;/BLOCKQUOTE&gt;
I never tried, but perhaps &lt;B&gt;Build-in Properties&lt;/B&gt; can do the trick. (Page 519)</description>
      <pubDate>Thu, 01 Oct 2020 09:09:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284302#M3662</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-01T09:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can Renovation status be used for different 2D scripting?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284303#M3663</link>
      <description>&lt;BLOCKQUOTE&gt;Braza wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;GDL wrote:&lt;BR /&gt;Built-in Properties&lt;BR /&gt;
These commands return the folder names, parameter names and parameter values of built-in properties on the "Classification and Properties"&lt;BR /&gt;
tabpage (ID and Categories, Renovation, IFC Properties).&lt;/BLOCKQUOTE&gt;
I never tried, but perhaps &lt;B&gt;Build-in Properties&lt;/B&gt; can do the trick. (Page 519)
&lt;/BLOCKQUOTE&gt;

Hmm..would be interesting to see if it can be used. I'm not that much into GDL to understand how i would use it.</description>
      <pubDate>Fri, 02 Oct 2020 06:20:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284303#M3663</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2020-10-02T06:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can Renovation status be used for different 2D scripting?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284304#M3664</link>
      <description>It works but you will get a localized string.&lt;BR /&gt;
Would be nice if Graphisoft could offer a global integer parameter (-1; 0; 1)&lt;BR /&gt;
&lt;BR /&gt;
From gdl.graphisoft.com:&lt;BR /&gt;

&lt;PRE&gt;DIM folderNamesArray[]
n = APPLICATION_QUERY ("OwnCustomParameters", "GetParameterFolderNames()", folderNamesArray)

for i = 1 to vardim1(folderNamesArray) step 3

    DIM parNamesArray[]
    querystring = "GetParameterNames(" + folderNamesArray&lt;I&gt; + ")"
    n = APPLICATION_QUERY ("OwnCustomParameters", querystring, parNamesArray)
    text2 0, 0, querystring
    add2 1, -1

    _nLines = 1
    for j = 1 to vardim1(parNamesArray) step 3

        parValue = ""
        querystring = "GetParameter(" + parNamesArray&lt;J&gt; + ")"
        n = APPLICATION_QUERY ("OwnCustomParameters", querystring, parValue)
        text2 0, 0, querystring + ": " + parValue
        add2 0, -1
        _nLines = _nLines + 1

    next j

    del _nLines
    add2 0, -_nLines

next i&lt;/J&gt;&lt;/I&gt;&lt;/PRE&gt;

&lt;BR /&gt;
so in short
&lt;PRE&gt;renoStatus = ""
_r = APPLICATION_QUERY ("OwnCustomParameters", "GetParameter(Renovation.RenovationStatus)", renoStatus)

text2 0, 0, renoStatus&lt;/PRE&gt;

&lt;BR /&gt;
Cheers</description>
      <pubDate>Fri, 02 Oct 2020 07:46:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284304#M3664</guid>
      <dc:creator>Dominic Wyss</dc:creator>
      <dc:date>2020-10-02T07:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can Renovation status be used for different 2D scripting?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284305#M3665</link>
      <description>&lt;BLOCKQUOTE&gt;Dominic wrote:&lt;BR /&gt;
It works but you will get a localized string.&lt;BR /&gt;
Would be nice if Graphisoft could offer a global integer parameter (-1; 0; 1)&lt;BR /&gt;
&lt;BR /&gt;
From gdl.graphisoft.com:&lt;BR /&gt;

&lt;PRE&gt;DIM folderNamesArray[]
n = APPLICATION_QUERY ("OwnCustomParameters", "GetParameterFolderNames()", folderNamesArray)

for i = 1 to vardim1(folderNamesArray) step 3

    DIM parNamesArray[]
    querystring = "GetParameterNames(" + folderNamesArray&lt;I&gt; + ")"
    n = APPLICATION_QUERY ("OwnCustomParameters", querystring, parNamesArray)
    text2 0, 0, querystring
    add2 1, -1

    _nLines = 1
    for j = 1 to vardim1(parNamesArray) step 3

        parValue = ""
        querystring = "GetParameter(" + parNamesArray&lt;J&gt; + ")"
        n = APPLICATION_QUERY ("OwnCustomParameters", querystring, parValue)
        text2 0, 0, querystring + ": " + parValue
        add2 0, -1
        _nLines = _nLines + 1

    next j

    del _nLines
    add2 0, -_nLines

next i&lt;/J&gt;&lt;/I&gt;&lt;/PRE&gt;

&lt;BR /&gt;
so in short
&lt;PRE&gt;renoStatus = ""
_r = APPLICATION_QUERY ("OwnCustomParameters", "GetParameter(Renovation.RenovationStatus)", renoStatus)

text2 0, 0, renoStatus&lt;/PRE&gt;

&lt;BR /&gt;
Cheers
&lt;/BLOCKQUOTE&gt;

Thx.&lt;BR /&gt;
With my very tiny GDL skills I cad get the code to display reonvation status with the renoStatus parameter. How can I connect an IF THEN ELSE to use the status? IF renoStatus = "New" THEN....circle 0,0,1 ELSE IF...etc</description>
      <pubDate>Fri, 02 Oct 2020 14:36:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284305#M3665</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2020-10-02T14:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can Renovation status be used for different 2D scripting?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284306#M3666</link>
      <description>Yes. exactly like that
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;
renoStatus = ""
_r = APPLICATION_QUERY ("OwnCustomParameters", "GetParameter(Renovation.RenovationStatus)", renoStatus)

if renoStatus = "New" then !! &amp;lt;- String is localized. So in your case it should be "Ny"
    !do something

else
    !some code

endif

&lt;/PRE&gt;

&lt;FONT color="#FF0040"&gt;Important: the returned string is localized. So in your case it should be "Ny"&lt;/FONT&gt;</description>
      <pubDate>Fri, 02 Oct 2020 15:28:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284306#M3666</guid>
      <dc:creator>Dominic Wyss</dc:creator>
      <dc:date>2020-10-02T15:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can Renovation status be used for different 2D scripting?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284307#M3667</link>
      <description>Thanks Dominic! Much appreciated.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;&lt;BR /&gt;
And thank you Mats for posting your question.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" style="display : inline;" /&gt; &lt;BR /&gt;
And I agree...  It would be better if the parameter was a global integer.&lt;BR /&gt;
Though I think the whole Renovation Status should be incorporated to the Properties.&lt;BR /&gt;
And finally, introducing the &lt;A href="https://archicad-talk.graphisoft.com/viewtopic.php?f=24&amp;amp;t=67171&amp;amp;sid=555e88ed9ea3fce54d104926a6225997&amp;amp;start=10#p314996" target="_blank"&gt;Model Filter View Option&lt;/A&gt;.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
Cheers,</description>
      <pubDate>Sat, 03 Oct 2020 10:14:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284307#M3667</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-03T10:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can Renovation status be used for different 2D scripting?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284308#M3668</link>
      <description>&lt;BLOCKQUOTE&gt;Dominic wrote:&lt;BR /&gt;
Yes. exactly like that
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;
renoStatus = ""
_r = APPLICATION_QUERY ("OwnCustomParameters", "GetParameter(Renovation.RenovationStatus)", renoStatus)

if renoStatus = "New" then !! &amp;lt;- String is localized. So in your case it should be "Ny"
    !do something

else
    !some code

endif

&lt;/PRE&gt;

&lt;FONT color="#FF0040"&gt;Important: the returned string is localized. So in your case it should be "Ny"&lt;/FONT&gt;
&lt;/BLOCKQUOTE&gt;

Many thanks Dominic!&lt;BR /&gt;
I got it to work &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;. Now I need to get the symbols from our landscapers and start coding.&lt;BR /&gt;
&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; Mats</description>
      <pubDate>Mon, 05 Oct 2020 07:00:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284308#M3668</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2020-10-05T07:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can Renovation status be used for different 2D scripting?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284309#M3669</link>
      <description>&lt;BLOCKQUOTE&gt;Braza wrote:&lt;BR /&gt;
Thanks Dominic! Much appreciated.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;&lt;BR /&gt;
And thank you Mats for posting your question.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" style="display : inline;" /&gt; &lt;BR /&gt;
And I agree...  It would be better if the parameter was a global integer.&lt;BR /&gt;
Though I think the whole Renovation Status should be incorporated to the Properties.&lt;BR /&gt;
And finally, introducing the &lt;A href="https://archicad-talk.graphisoft.com/viewtopic.php?f=24&amp;amp;t=67171&amp;amp;sid=555e88ed9ea3fce54d104926a6225997&amp;amp;start=10#p314996" target="_blank"&gt;Model Filter View Option&lt;/A&gt;.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
Cheers,
&lt;/BLOCKQUOTE&gt;

We strongly don't like the dubious interaction between Renovation filters, MVO and GO. Polish parliament kind of.</description>
      <pubDate>Mon, 05 Oct 2020 07:02:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-Renovation-status-be-used-for-different-2D-scripting/m-p/284309#M3669</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2020-10-05T07:02:48Z</dc:date>
    </item>
  </channel>
</rss>

