<?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: How to request values of custom properties in gdl? in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/663294#M7733</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/126096"&gt;@talmacsi_petrolterv&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Do you know a good, comprehensive summary about it?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No, sorry.&lt;/P&gt;
&lt;P&gt;It is just the master script is always run, even on a screen refresh I believe.&lt;/P&gt;
&lt;P&gt;The parameter script is only run when you change a parameter, i.e. open the object settings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most things in the parameter script work in the master script as well as far as I know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
    <pubDate>Fri, 23 May 2025 01:44:40 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2025-05-23T01:44:40Z</dc:date>
    <item>
      <title>How to request values of custom properties in gdl?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/662737#M7702</link>
      <description>&lt;P&gt;I can request the list of all custom properties:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&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;"PROPERTIES_OF_PARENT"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; parentProperties&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This gives the &lt;STRONG&gt;guid&lt;/STRONG&gt;, GroupName, PropertyName. So I know the basic info about the required property.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;But the value request requires "&lt;STRONG&gt;id&lt;/STRONG&gt;", here:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;mm = REQUEST("PROPERTY_VALUE_OF_PARENT","&lt;STRONG&gt;id&lt;/STRONG&gt;",4,0,0,kod)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;If I put the &lt;EM&gt;guid&lt;/EM&gt; there, it shows an error message.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I cannot find any other approach.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Or maybe the "PROPERTY_VALUE&lt;STRONG&gt;S&lt;/STRONG&gt;_OF_PARENT" would be good, but that uses DICT dictionaries - and in the gdl reference guide you can't find proper examples of how to use those dictionaries.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;And actually, the opposite direction would be good also: to get the gdl parameters in custom properties.&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 May 2025 15:37:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/662737#M7702</guid>
      <dc:creator>talmacsi_petrolterv</dc:creator>
      <dc:date>2025-05-16T15:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to request values of custom properties in gdl?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/662752#M7704</link>
      <description>&lt;P&gt;Just checking, are you creating a custom label or requesting the object's own properties?&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 19:38:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/662752#M7704</guid>
      <dc:creator>vlahtinen</dc:creator>
      <dc:date>2025-05-16T19:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to request values of custom properties in gdl?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/662764#M7706</link>
      <description>&lt;P&gt;Yes, it's some kinda label, but an archicad object (not label-tool).&lt;/P&gt;&lt;P&gt;I can retrieve the gdl (standard / global) variables, but I just want to get the custom properties, too.&lt;/P&gt;</description>
      <pubDate>Sat, 17 May 2025 06:33:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/662764#M7706</guid>
      <dc:creator>petrolterv_TI</dc:creator>
      <dc:date>2025-05-17T06:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to request values of custom properties in gdl?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/662765#M7707</link>
      <description>&lt;P&gt;Sorry, the answer above/below was also by me. (just missed the right browser)&lt;/P&gt;</description>
      <pubDate>Sat, 17 May 2025 06:39:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/662765#M7707</guid>
      <dc:creator>talmacsi_petrolterv</dc:creator>
      <dc:date>2025-05-17T06:39:13Z</dc:date>
    </item>
    <item>
      <title>Betreff: How to request values of custom properties in gdl?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/662767#M7708</link>
      <description>&lt;P&gt;If its not a Label it can not access custom properties. &lt;/P&gt;</description>
      <pubDate>Sat, 17 May 2025 08:59:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/662767#M7708</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2025-05-17T08:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to request values of custom properties in gdl?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/662770#M7709</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/640"&gt;@runxel&lt;/a&gt;&amp;nbsp;wrote, objects can’t access custom properties. The workaround is to create a custom IFC translator which maps the properties to IFC properties and these can then be queried with APPLICATION_QUERY command. I think the translator has to be set as preview translator.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 May 2025 11:41:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/662770#M7709</guid>
      <dc:creator>vlahtinen</dc:creator>
      <dc:date>2025-05-17T11:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to request values of custom properties in gdl?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/662774#M7710</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 17 May 2025 12:03:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/662774#M7710</guid>
      <dc:creator>talmacsi_petrolterv</dc:creator>
      <dc:date>2025-05-17T12:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to request values of custom properties in gdl?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/663104#M7723</link>
      <description>&lt;P&gt;The only way is to go around purely in GDL is: with save to txt the property (eg in ui script) and then load it in parameters script, but needs to be triggered.&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 07:50:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/663104#M7723</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2025-05-21T07:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to request values of custom properties in gdl?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/663161#M7725</link>
      <description>&lt;P&gt;Managed to implement your suggestion. Thanks! It works just fine.&lt;/P&gt;&lt;P&gt;Almost. Because you have to refresh the object to update properties (in some cases).&lt;/P&gt;&lt;P&gt;I can refresh them by selecting all the occurencies of the element on the active view, open &amp;amp; close the settings of the objects.&lt;/P&gt;&lt;P&gt;Do you know any other way to automatically refresh the objects?&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 12:21:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/663161#M7725</guid>
      <dc:creator>talmacsi_petrolterv</dc:creator>
      <dc:date>2025-05-21T12:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to request values of custom properties in gdl?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/663230#M7726</link>
      <description>&lt;P&gt;'Rebuild &amp;amp; Regenerate' (CTRL + ALT + SHIFT + R on windows) is the most powerful rebuild command.&lt;/P&gt;
&lt;P&gt;Not sure if that will update the properties or if you still need to open the object settings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 01:12:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/663230#M7726</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2025-05-22T01:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to request values of custom properties in gdl?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/663270#M7727</link>
      <description>&lt;P&gt;Nope. Unfortunately.&lt;/P&gt;&lt;P&gt;But the object works, after all; and updates with opening.&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 07:16:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/663270#M7727</guid>
      <dc:creator>talmacsi_petrolterv</dc:creator>
      <dc:date>2025-05-22T07:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to request values of custom properties in gdl?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/663288#M7731</link>
      <description>&lt;P&gt;If your script to request the values is in the parameter script of the object, I think you have to open the object to force the parameter script to run.&lt;/P&gt;
&lt;P&gt;But there is a command you could add to a menu or toolbar in your Work Environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BarryKelly_0-1747902331155.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/87129iB781B694922D8719/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BarryKelly_0-1747902331155.png" alt="BarryKelly_0-1747902331155.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That might work?&lt;/P&gt;
&lt;P&gt;I takes a little while to run though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or maybe have the script in the Master script and the rebuild &amp;amp; regenerate might work (I am not sure about that one).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 08:27:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/663288#M7731</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2025-05-22T08:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to request values of custom properties in gdl?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/663292#M7732</link>
      <description>&lt;P&gt;It works well. Takes a quite while; but works. Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The master script workaround is a little bit misterious to me. Never used. The gdl reference guide is not so helpful to me. Do you know a good, comprehensive summary about it?&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 09:04:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/663292#M7732</guid>
      <dc:creator>talmacsi_petrolterv</dc:creator>
      <dc:date>2025-05-22T09:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to request values of custom properties in gdl?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/663294#M7733</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/126096"&gt;@talmacsi_petrolterv&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Do you know a good, comprehensive summary about it?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No, sorry.&lt;/P&gt;
&lt;P&gt;It is just the master script is always run, even on a screen refresh I believe.&lt;/P&gt;
&lt;P&gt;The parameter script is only run when you change a parameter, i.e. open the object settings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most things in the parameter script work in the master script as well as far as I know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 01:44:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/663294#M7733</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2025-05-23T01:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to request values of custom properties in gdl?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/667408#M7811</link>
      <description>&lt;P&gt;Would you mind sharing the Master Script and the 2D Script? I'm with the same problem but can't solve this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 19:27:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-request-values-of-custom-properties-in-gdl/m-p/667408#M7811</guid>
      <dc:creator>kevincarv</dc:creator>
      <dc:date>2025-06-25T19:27:48Z</dc:date>
    </item>
  </channel>
</rss>

