<?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 How to insert Array Values? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-insert-Array-Values/m-p/276324#M4494</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt; Hello everyone! I want to insert 10 arrays into this parameter. I have tested many ways to fail. I don't know what it does, please help me, thank you all.
&lt;/R&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 15 Mar 2018 03:17:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-15T03:17:27Z</dc:date>
    <item>
      <title>How to insert Array Values?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-insert-Array-Values/m-p/276324#M4494</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt; Hello everyone! I want to insert 10 arrays into this parameter. I have tested many ways to fail. I don't know what it does, please help me, thank you all.
&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Mar 2018 03:17:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-insert-Array-Values/m-p/276324#M4494</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-15T03:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Array Values?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-insert-Array-Values/m-p/276325#M4495</link>
      <description>Select the row button and then insert as many as you need.&lt;BR /&gt;
You can then select the values for each and add a default value if needed.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 15 Mar 2018 03:45:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-insert-Array-Values/m-p/276325#M4495</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2018-03-15T03:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Array Values?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-insert-Array-Values/m-p/276326#M4496</link>
      <description>hi Barry Kelly !&lt;BR /&gt;
 &lt;BR /&gt;
Can I insert it in a 2D script? I want to use it to control the X coordinate but I cannot determine the number of points.</description>
      <pubDate>Thu, 15 Mar 2018 05:45:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-insert-Array-Values/m-p/276326#M4496</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-15T05:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Array Values?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-insert-Array-Values/m-p/276327#M4497</link>
      <description>You want an adjustable array - I think they call it a dynamic array.&lt;BR /&gt;
&lt;BR /&gt;
As far as I know you can't have the user add new values directly to the array but you can create a new parameter that controls the size of the array.&lt;BR /&gt;

&lt;PRE&gt;DIM x []

for n = 1 to y
	x&lt;N&gt; = value
NEXT n

PARAMETERS x=x&lt;/N&gt;&lt;/PRE&gt;

Where 'y' is a new parameter that sets size of the array.&lt;BR /&gt;
'value' is the actual value you want to put into the array.&lt;BR /&gt;
&lt;BR /&gt;
In this case value will be the same for each field in the array.&lt;BR /&gt;
Unless you vary the value for each 'n' - i.e. value = value+1&lt;BR /&gt;

&lt;PRE&gt;DIM x []

for n = 1 to y
	x&lt;N&gt; = value
	value = value+1
NEXT n

PARAMETERS x=x&lt;/N&gt;&lt;/PRE&gt;

Not sure if this will help or not.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 15 Mar 2018 06:49:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-insert-Array-Values/m-p/276327#M4497</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2018-03-15T06:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Array Values?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-insert-Array-Values/m-p/276328#M4498</link>
      <description>Thank you for helping me solve the problem &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
      <pubDate>Thu, 15 Mar 2018 08:45:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-insert-Array-Values/m-p/276328#M4498</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-15T08:45:54Z</dc:date>
    </item>
  </channel>
</rss>

