<?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: How do I extract the number of rows in a dynamic array? in Documentation</title>
    <link>https://community.graphisoft.com/t5/Documentation/How-do-I-extract-the-number-of-rows-in-a-dynamic-array/m-p/365430#M54922</link>
    <description>&lt;P&gt;Sweet! That is exactly the help I was seeking. &amp;nbsp;Thank you for the quick, detailed response!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JFA&lt;/P&gt;</description>
    <pubDate>Mon, 19 Dec 2022 01:44:34 GMT</pubDate>
    <dc:creator>jfa_ra</dc:creator>
    <dc:date>2022-12-19T01:44:34Z</dc:date>
    <item>
      <title>How do I extract the number of rows in a dynamic array?</title>
      <link>https://community.graphisoft.com/t5/Documentation/How-do-I-extract-the-number-of-rows-in-a-dynamic-array/m-p/365413#M54919</link>
      <description>&lt;P&gt;I am trying to modify the Wall Framing Object to provide the number of studs as a parameter that can be scheduled. &amp;nbsp;Based upon my review of the gdl code, it appears that the row count of the array for "stud" parameter provides the desired data. &amp;nbsp;There seems to be some counter subroutines that build the size of array.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions for revisions to the gdl code to turn the row count of the array to a parameter that can be called in a schedule?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;jfa_ra&lt;/P&gt;&lt;P&gt;Archicad since 8.0&lt;/P&gt;</description>
      <pubDate>Sun, 18 Dec 2022 21:48:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/How-do-I-extract-the-number-of-rows-in-a-dynamic-array/m-p/365413#M54919</guid>
      <dc:creator>jfa_ra</dc:creator>
      <dc:date>2022-12-18T21:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract the number of rows in a dynamic array?</title>
      <link>https://community.graphisoft.com/t5/Documentation/How-do-I-extract-the-number-of-rows-in-a-dynamic-array/m-p/365418#M54921</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You would have to make a parameter that the schedule could see, say "Number_of_studs"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then use the VARDIM1() or VARDIM2() command to read the size of the array and set it to the new parameter. (I don't know if its a 1 or 2 array)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Number_of_studs = VARDIM1(Stud)&lt;/P&gt;&lt;P&gt;parameters Number_of_studs =&amp;nbsp;Number_of_studs&lt;/P&gt;&lt;P&gt;hideparameter "Number_of_studs"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the scedules "Scheme setting" add field based on&amp;nbsp; "Library part Parameters"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AllanP_1-1671404463741.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/32628iE94808D5EA251561/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AllanP_1-1671404463741.png" alt="AllanP_1-1671404463741.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;select the library it is in, find the "Wall framing" library&amp;nbsp; part, then it will display the new field in the list,&lt;/P&gt;&lt;P&gt;"add" it to the "Selected parameters" list&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AllanP_2-1671404689229.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/32629iF86CA908B31EE674/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AllanP_2-1671404689229.png" alt="AllanP_2-1671404689229.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;use the "hideparameter" in the script, using the cross beside the parameter in the parameter window will mean it does not show up in the available parameters list.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AllanP_3-1671405196309.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/32630iC8B6C63880DFF8F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AllanP_3-1671405196309.png" alt="AllanP_3-1671405196309.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Dec 2022 23:13:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/How-do-I-extract-the-number-of-rows-in-a-dynamic-array/m-p/365418#M54921</guid>
      <dc:creator>AllanP</dc:creator>
      <dc:date>2022-12-18T23:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract the number of rows in a dynamic array?</title>
      <link>https://community.graphisoft.com/t5/Documentation/How-do-I-extract-the-number-of-rows-in-a-dynamic-array/m-p/365430#M54922</link>
      <description>&lt;P&gt;Sweet! That is exactly the help I was seeking. &amp;nbsp;Thank you for the quick, detailed response!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JFA&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 01:44:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/How-do-I-extract-the-number-of-rows-in-a-dynamic-array/m-p/365430#M54922</guid>
      <dc:creator>jfa_ra</dc:creator>
      <dc:date>2022-12-19T01:44:34Z</dc:date>
    </item>
  </channel>
</rss>

