<?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 Retrieve an array from the model view options in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Retrieve-an-array-from-the-model-view-options/m-p/380898#M272</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I want to create an object that show the id of the object in plan.&lt;/P&gt;
&lt;P&gt;But if the identifier of this object is present in the MVO list, I want it to display the text chosen by the user in the model view options (an abbreviation in my case)&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-center" image-alt="Capture d’écran 2023-05-19 à 10.10.25.png" style="width: 885px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/38070iAE26F28102395191/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d’écran 2023-05-19 à 10.10.25.png" alt="Capture d’écran 2023-05-19 à 10.10.25.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not really experienced in GDL, so I don't know how to retrive an array from an other script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;!!!!!!!!!!!!!!SCRIPT PRINCIPAL

DIM valueT [][]

succes = LIBRARYGLOBAL ("OVM_Remplacement", "arrayValeurs" , req_arrayValeurs)



!!!! THIS PART DOESN'T WORK AT THE MOMENT


!for i = 1 to 3
!valueT[i][1]=req_arrayValeurs[i][1]
!valueT[i][2]=req_arrayValeurs[i][2]
!
!next i
!


Request ("ID_of_Main","",test)

compteur=test

!for i = 1 to 3
!IF test = valueT[i][1] THEN
!compteur=valueT[i][2]
!ENDIF&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 19 May 2023 08:17:58 GMT</pubDate>
    <dc:creator>Mathias Jonathan</dc:creator>
    <dc:date>2023-05-19T08:17:58Z</dc:date>
    <item>
      <title>Retrieve an array from the model view options</title>
      <link>https://community.graphisoft.com/t5/GDL/Retrieve-an-array-from-the-model-view-options/m-p/380898#M272</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I want to create an object that show the id of the object in plan.&lt;/P&gt;
&lt;P&gt;But if the identifier of this object is present in the MVO list, I want it to display the text chosen by the user in the model view options (an abbreviation in my case)&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-center" image-alt="Capture d’écran 2023-05-19 à 10.10.25.png" style="width: 885px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/38070iAE26F28102395191/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d’écran 2023-05-19 à 10.10.25.png" alt="Capture d’écran 2023-05-19 à 10.10.25.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not really experienced in GDL, so I don't know how to retrive an array from an other script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;!!!!!!!!!!!!!!SCRIPT PRINCIPAL

DIM valueT [][]

succes = LIBRARYGLOBAL ("OVM_Remplacement", "arrayValeurs" , req_arrayValeurs)



!!!! THIS PART DOESN'T WORK AT THE MOMENT


!for i = 1 to 3
!valueT[i][1]=req_arrayValeurs[i][1]
!valueT[i][2]=req_arrayValeurs[i][2]
!
!next i
!


Request ("ID_of_Main","",test)

compteur=test

!for i = 1 to 3
!IF test = valueT[i][1] THEN
!compteur=valueT[i][2]
!ENDIF&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 19 May 2023 08:17:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Retrieve-an-array-from-the-model-view-options/m-p/380898#M272</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2023-05-19T08:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve an array from the model view options</title>
      <link>https://community.graphisoft.com/t5/GDL/Retrieve-an-array-from-the-model-view-options/m-p/380908#M273</link>
      <description>&lt;P&gt;LIBRARYGLOBAL work only with 1d array&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 09:24:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Retrieve-an-array-from-the-model-view-options/m-p/380908#M273</guid>
      <dc:creator>kuvbur</dc:creator>
      <dc:date>2023-05-19T09:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve an array from the model view options</title>
      <link>https://community.graphisoft.com/t5/GDL/Retrieve-an-array-from-the-model-view-options/m-p/380920#M274</link>
      <description>&lt;P&gt;It worked well after making two 1d arrays. Thank you a lot!&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 11:34:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Retrieve-an-array-from-the-model-view-options/m-p/380920#M274</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2023-05-19T11:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve an array from the model view options</title>
      <link>https://community.graphisoft.com/t5/GDL/Retrieve-an-array-from-the-model-view-options/m-p/381116#M275</link>
      <description>&lt;P&gt;Technically, returned arrays (libraryglobal, request, returned_parameters, ....) can be used as two-dimensional if declared with a fixed size in the receiving script. There are not many use cases when you know the size in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 12:53:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Retrieve-an-array-from-the-model-view-options/m-p/381116#M275</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2023-05-22T12:53:31Z</dc:date>
    </item>
  </channel>
</rss>

