<?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 Append current value to the array from UI in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Append-current-value-to-the-array-from-UI/m-p/222597#M5356</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I wonder if somebody could help me with my problem. I have added several fields to the layout info and I am reading these from my object (from LAYOUT_REVISION_HISTORY).&lt;BR /&gt;
&lt;BR /&gt;
Now I would like to have a button to append current values of these fields to some array and display them.&lt;BR /&gt;
&lt;BR /&gt;
I try to find a way to trigger action of appending current value to the array from UI. Is it possible to trigger some macro from interface or parameter script that would append current value? I want to store this array within gdl object rather than write to file.&lt;BR /&gt;
&lt;BR /&gt;
Thank you for help,&lt;BR /&gt;
&lt;BR /&gt;
Maciek&lt;/T&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 21 Aug 2017 08:57:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-08-21T08:57:48Z</dc:date>
    <item>
      <title>Append current value to the array from UI</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Append-current-value-to-the-array-from-UI/m-p/222597#M5356</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I wonder if somebody could help me with my problem. I have added several fields to the layout info and I am reading these from my object (from LAYOUT_REVISION_HISTORY).&lt;BR /&gt;
&lt;BR /&gt;
Now I would like to have a button to append current values of these fields to some array and display them.&lt;BR /&gt;
&lt;BR /&gt;
I try to find a way to trigger action of appending current value to the array from UI. Is it possible to trigger some macro from interface or parameter script that would append current value? I want to store this array within gdl object rather than write to file.&lt;BR /&gt;
&lt;BR /&gt;
Thank you for help,&lt;BR /&gt;
&lt;BR /&gt;
Maciek&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 21 Aug 2017 08:57:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Append-current-value-to-the-array-from-UI/m-p/222597#M5356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-21T08:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Append current value to the array from UI</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Append-current-value-to-the-array-from-UI/m-p/222598#M5357</link>
      <description>Related question: Is there a way in GDL to check if some variable changed its value?</description>
      <pubDate>Mon, 21 Aug 2017 14:54:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Append-current-value-to-the-array-from-UI/m-p/222598#M5357</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-21T14:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Append current value to the array from UI</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Append-current-value-to-the-array-from-UI/m-p/222599#M5358</link>
      <description>&lt;BLOCKQUOTE&gt;Maciek wrote:&lt;BR /&gt;Related question: Is there a way in GDL to check if some variable changed its value?&lt;/BLOCKQUOTE&gt;

&lt;PRE&gt;if GLOB_MODPAR_NAME = "variable" then ...&lt;/PRE&gt;

You need the quotes around the variable name.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Tue, 22 Aug 2017 00:46:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Append-current-value-to-the-array-from-UI/m-p/222599#M5358</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2017-08-22T00:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Append current value to the array from UI</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Append-current-value-to-the-array-from-UI/m-p/222600#M5359</link>
      <description>Thank you Barry. I have tried that but it returns null after you click UI_Button. So it's hard to tell which button was clicked.&lt;BR /&gt;
&lt;BR /&gt;
If anybody wondered – I ended up up with attached script (will append first custom field from layout info). Need to make these buttons work nicer but it works.</description>
      <pubDate>Tue, 22 Aug 2017 12:42:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Append-current-value-to-the-array-from-UI/m-p/222600#M5359</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-22T12:42:16Z</dc:date>
    </item>
  </channel>
</rss>

