<?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: Request changes Array format in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Request-changes-Array-format/m-p/326898#M2479</link>
    <description>&lt;P&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/5414"&gt;@SenecaDesignLLC&lt;/a&gt;&amp;nbsp;Thanks for the response, I guess I should spend a bit more time with the manual...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;p_values: for ASSOCLP_PARVALUE returns the parameter value or array of values. The array elements are returned successively, row by row as a one dimensional array, independently of the dimensions of the variable specified to store it. If the variable is not a dynamic array, there are as many elements stored as there is room for (for a simple variable only one, the first element). If values is a two dimensional dynamic array, all elements are stored in the first row.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jan 2022 10:44:26 GMT</pubDate>
    <dc:creator>DGSketcher</dc:creator>
    <dc:date>2022-01-12T10:44:26Z</dc:date>
    <item>
      <title>Request changes Array format</title>
      <link>https://community.graphisoft.com/t5/GDL/Request-changes-Array-format/m-p/326846#M2476</link>
      <description>&lt;P&gt;I have a 2D Parameter array in object A which is formatted as Array [m][n] but in object B when I use REQUEST I end up with Array [1][m x n] in the imported array and dim1 &amp;amp; dim2 values. Any suggestions why this is happening before I transfer the values into a new 2D array?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 03:47:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Request-changes-Array-format/m-p/326846#M2476</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2022-01-12T03:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Request changes Array format</title>
      <link>https://community.graphisoft.com/t5/GDL/Request-changes-Array-format/m-p/326877#M2477</link>
      <description>&lt;P&gt;This is a complicated question (kind of) but seems relevant to the code, can you post something or an image with more info? Debugging is difficult with such minimal information.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 08:18:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Request-changes-Array-format/m-p/326877#M2477</guid>
      <dc:creator>SenecaDesignLLC</dc:creator>
      <dc:date>2022-01-12T08:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Request changes Array format</title>
      <link>https://community.graphisoft.com/t5/GDL/Request-changes-Array-format/m-p/326893#M2478</link>
      <description>&lt;P&gt;Things are pretty much as I suggested above, but I will try to expand.&lt;/P&gt;&lt;P&gt;In Object A (subtype: Wall) I have a parameter array MyArray[m][n] which is correctly reporting changes &amp;amp; values of real numbers.&lt;/P&gt;&lt;P&gt;In Object B (subtype: Label) I want to import that array so I use...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MASTER SCRIPT:
n = REQUEST ("ASSOCLP_PARVALUE", "MyArray" , name_or_index, type, flags, dims1, dims2, MyArray)
MyArray = MyArray
PARAMETERS MyArray = MyArray

!dims1 &amp;amp; dims2 correctly supply values m &amp;amp; n
!but
!VARDIMS1(MyArray) = 1 &amp;amp; VARDIMS2(MyArray) = m * n&lt;/LI-CODE&gt;&lt;P&gt;The MyArray[m][n] parameter values in Object B aren't updating, but that may be a different issue.&lt;/P&gt;&lt;P&gt;In Object B if I want to use the values in MyArray I have to use Value = MyArray[1][m x n].&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 10:32:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Request-changes-Array-format/m-p/326893#M2478</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2022-01-12T10:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Request changes Array format</title>
      <link>https://community.graphisoft.com/t5/GDL/Request-changes-Array-format/m-p/326898#M2479</link>
      <description>&lt;P&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/5414"&gt;@SenecaDesignLLC&lt;/a&gt;&amp;nbsp;Thanks for the response, I guess I should spend a bit more time with the manual...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;p_values: for ASSOCLP_PARVALUE returns the parameter value or array of values. The array elements are returned successively, row by row as a one dimensional array, independently of the dimensions of the variable specified to store it. If the variable is not a dynamic array, there are as many elements stored as there is room for (for a simple variable only one, the first element). If values is a two dimensional dynamic array, all elements are stored in the first row.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 10:44:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Request-changes-Array-format/m-p/326898#M2479</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2022-01-12T10:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Request changes Array format</title>
      <link>https://community.graphisoft.com/t5/GDL/Request-changes-Array-format/m-p/326927#M2480</link>
      <description>&lt;P&gt;Yeah, you found the critical text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Btw same holds true for macro returns, and returns from any GDL Addons. The returned array will be always one-dimensional.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 14:35:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Request-changes-Array-format/m-p/326927#M2480</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2022-01-12T14:35:07Z</dc:date>
    </item>
  </channel>
</rss>

