<?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 Archicad Dictionaries and UI commands in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Archicad-Dictionaries-and-UI-commands/m-p/676800#M7959</link>
    <description>&lt;P&gt;Hi Graphisoft GDL Development Team,&lt;BR /&gt;&lt;BR /&gt;I would like to draw your attention to something I have stumbled upon yesterday.&lt;BR /&gt;&lt;BR /&gt;While trying to use ArchiCAD "UI_" commands for objects' GUI with a Dictionary Parameter, the&amp;nbsp; commands did not accept it. Whether it was a normal or an array parameter.&lt;BR /&gt;&lt;BR /&gt;I don't know if the issue is in my PC or the way I have scripted the code, but I do firmly believe that if that was not the case, this issue should be fixed for the benefits it can make GDL scripting more dynamic and terse.&lt;BR /&gt;&lt;BR /&gt;Best regards.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Sep 2025 10:34:45 GMT</pubDate>
    <dc:creator>Nader Belal</dc:creator>
    <dc:date>2025-09-15T10:34:45Z</dc:date>
    <item>
      <title>Archicad Dictionaries and UI commands</title>
      <link>https://community.graphisoft.com/t5/GDL/Archicad-Dictionaries-and-UI-commands/m-p/676800#M7959</link>
      <description>&lt;P&gt;Hi Graphisoft GDL Development Team,&lt;BR /&gt;&lt;BR /&gt;I would like to draw your attention to something I have stumbled upon yesterday.&lt;BR /&gt;&lt;BR /&gt;While trying to use ArchiCAD "UI_" commands for objects' GUI with a Dictionary Parameter, the&amp;nbsp; commands did not accept it. Whether it was a normal or an array parameter.&lt;BR /&gt;&lt;BR /&gt;I don't know if the issue is in my PC or the way I have scripted the code, but I do firmly believe that if that was not the case, this issue should be fixed for the benefits it can make GDL scripting more dynamic and terse.&lt;BR /&gt;&lt;BR /&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Sep 2025 10:34:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Archicad-Dictionaries-and-UI-commands/m-p/676800#M7959</guid>
      <dc:creator>Nader Belal</dc:creator>
      <dc:date>2025-09-15T10:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Archicad Dictionaries and UI commands</title>
      <link>https://community.graphisoft.com/t5/GDL/Archicad-Dictionaries-and-UI-commands/m-p/677653#M7985</link>
      <description>&lt;P&gt;Note that per GDL Reference Guide:&lt;EM&gt; "values for a dictionary type parameter can only be set via the Parameter script (no direct user input is available through Parameter list or UI controls), the VALUES command is disabled for this type",&amp;nbsp;&lt;/EM&gt;so this is stated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My approach is to define exclusive UI parameters, i call them like &lt;EM&gt;sUI1&lt;/EM&gt; (for a string data) and &lt;EM&gt;iUI2&lt;/EM&gt; (integer), do the &lt;EM&gt;ui_infield&lt;/EM&gt; commands for setting these in Interface scripts, and then in the Parrameter sctipt I write something like:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;if gs_ui_current_page = dPageIDS.SelectedPanelPage.iUiID then
	values "iUI4" 1, 2, 3
	if	GLOB_MODPAR_NAME = "iUI4" \
	then
		dDict.iOverrideS[iOverrideEdited].source = iUI4
		parameters dDict = dDict
	else
		parameters iUI4 = dDict.iOverrideS[iOverrideEdited].source
	endif
endif&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that for this i define&amp;nbsp;&lt;EM&gt;dPageIDS.SelectedPanelPage.iUiID&lt;/EM&gt; in a Master script to be seen both in Parameter and UI script. This has an advantage that the UI parameter's values can be limited independently from anything.&lt;/P&gt;
&lt;P&gt;I recycle these UI params among the tabs, so an &lt;EM&gt;iUI4&lt;/EM&gt;&amp;nbsp;can mean different "real" params on different tabpages.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 21:59:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Archicad-Dictionaries-and-UI-commands/m-p/677653#M7985</guid>
      <dc:creator>Sam Karli</dc:creator>
      <dc:date>2025-09-23T21:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Archicad Dictionaries and UI commands</title>
      <link>https://community.graphisoft.com/t5/GDL/Archicad-Dictionaries-and-UI-commands/m-p/677711#M7988</link>
      <description>&lt;P&gt;Hi Sam,&lt;BR /&gt;&lt;BR /&gt;Thank you for your reply.&lt;BR /&gt;&lt;BR /&gt;My issue is not about how to use the dictionaries under those circumstances as you have mentioned, my issue is that the full potential of dictionaries is not being used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 07:56:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Archicad-Dictionaries-and-UI-commands/m-p/677711#M7988</guid>
      <dc:creator>Nader Belal</dc:creator>
      <dc:date>2025-09-24T07:56:19Z</dc:date>
    </item>
  </channel>
</rss>

