<?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: Arrays and inputing values from a list in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128668#M23372</link>
    <description>Joachim,&lt;BR /&gt;
Thanks for guiding me to UI_INFIELD{2}.  I figured I would have to utilize the Interface Script but I didn't know where to start.&lt;BR /&gt;
&lt;BR /&gt;
Ralph,&lt;BR /&gt;
I created my window object years ago (out of necessity), and every so often I update it and expand its capabilities (not to mention expand my GDL capabilities).  I'm also starting to script a cabinet object with the same concept.  I am curious about the Modular Joinery object; I'm sure it is everything I need and more; however,  I'm not sure how to acquire the object.&lt;BR /&gt;
&lt;BR /&gt;
Scott</description>
    <pubDate>Sat, 31 Oct 2009 04:22:20 GMT</pubDate>
    <dc:creator>jshuether</dc:creator>
    <dc:date>2009-10-31T04:22:20Z</dc:date>
    <item>
      <title>Arrays and inputing values from a list</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128665#M23369</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I have an array set up to define a grid of windows. The array contains the horizontal widths and vertical width. I would like to define what each window is in the grid from a list of values.&lt;BR /&gt;
&lt;BR /&gt;
The parameters h and v would be integers &amp;gt;0 and a global_mod_par would populate the "window" array with the quantity of horizontal and vertical windows, but I'd like to establish what each window sash is.&lt;BR /&gt;
&lt;BR /&gt;
Essentially I want the sript to be something like&lt;BR /&gt;
&lt;BR /&gt;
window&lt;H&gt;&lt;V&gt;=type&lt;BR /&gt;
&lt;BR /&gt;
values "type" "fixed", "casement", "awning"&lt;BR /&gt;
&lt;BR /&gt;
However, all the windows would be the same and I'm not sure how to sript it to have control over each individual window sash.&lt;BR /&gt;
&lt;BR /&gt;
Any ideas?&lt;/V&gt;&lt;/H&gt;&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 10:39:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128665#M23369</guid>
      <dc:creator>jshuether</dc:creator>
      <dc:date>2023-05-24T10:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Arrays and inputing values from a list</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128666#M23370</link>
      <description>I am not shure, if I understand you right.&lt;BR /&gt;
I think, you should define a 2 dimensional Array Parameter named "window" and write as you did in Parameter script:&lt;BR /&gt;
values "type" "fixed", "casement", "awning" &lt;BR /&gt;
Now you can select in the User Interface (with UI_INFIELD{2}) selectable&lt;BR /&gt;
fields for every window sash with the 3 possibilities.</description>
      <pubDate>Fri, 30 Oct 2009 21:22:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128666#M23370</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2009-10-30T21:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Arrays and inputing values from a list</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128667#M23371</link>
      <description>&lt;BLOCKQUOTE&gt;jshuether wrote:&lt;BR /&gt;I have an array set up to define a grid of windows. The array contains the horizontal widths and vertical width. I would like to define what each window is in the grid from a list of values.&lt;/BLOCKQUOTE&gt;
If you want an object with that kind of behaviour, the &lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=26789&amp;amp;postdays=0&amp;amp;postorder=asc&amp;amp;highlight=modular+joinery&amp;amp;&amp;amp;start=0" target="_blank"&gt;Modular Joinery&lt;/A&gt; object may be what you're after. It will allow you to configure any array of doors, windows, and panels (including nested frames).</description>
      <pubDate>Fri, 30 Oct 2009 22:27:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128667#M23371</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2009-10-30T22:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Arrays and inputing values from a list</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128668#M23372</link>
      <description>Joachim,&lt;BR /&gt;
Thanks for guiding me to UI_INFIELD{2}.  I figured I would have to utilize the Interface Script but I didn't know where to start.&lt;BR /&gt;
&lt;BR /&gt;
Ralph,&lt;BR /&gt;
I created my window object years ago (out of necessity), and every so often I update it and expand its capabilities (not to mention expand my GDL capabilities).  I'm also starting to script a cabinet object with the same concept.  I am curious about the Modular Joinery object; I'm sure it is everything I need and more; however,  I'm not sure how to acquire the object.&lt;BR /&gt;
&lt;BR /&gt;
Scott</description>
      <pubDate>Sat, 31 Oct 2009 04:22:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128668#M23372</guid>
      <dc:creator>jshuether</dc:creator>
      <dc:date>2009-10-31T04:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Arrays and inputing values from a list</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128669#M23373</link>
      <description>&lt;BLOCKQUOTE&gt;jshuether wrote:&lt;BR /&gt;I am curious about the Modular Joinery object; I'm sure it is everything I need and more; however,  I'm not sure how to acquire the object.&lt;/BLOCKQUOTE&gt;
Distribution is managed by Graphisoft UK. Your ArchiCAD reseller should be able to source it for you from them.</description>
      <pubDate>Sat, 31 Oct 2009 09:50:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128669#M23373</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2009-10-31T09:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Arrays and inputing values from a list</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128670#M23374</link>
      <description>Is there anyone here is the US using the Modular Joinery object?  Can you give us detail on how you went about getting it?&lt;BR /&gt;
&lt;BR /&gt;
My reseller is listed as "Graphisoft US".  I requested this object from them. I never heard back.  So I'm curious to know if anyone was successful in obtaining it.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,  Greg</description>
      <pubDate>Sat, 31 Oct 2009 20:22:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128670#M23374</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-31T20:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Arrays and inputing values from a list</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128671#M23375</link>
      <description>Nope...</description>
      <pubDate>Sun, 01 Nov 2009 02:47:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128671#M23375</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2009-11-01T02:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Arrays and inputing values from a list</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128672#M23376</link>
      <description>You can 'call' a window in a script that then places it. Calling it multiple times can give you the array. You can either use the default values of the called window or use new ones in your new parameters.</description>
      <pubDate>Sun, 01 Nov 2009 22:02:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128672#M23376</guid>
      <dc:creator>Aussie John</dc:creator>
      <dc:date>2009-11-01T22:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Arrays and inputing values from a list</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128673#M23377</link>
      <description>My reseller got it for me......</description>
      <pubDate>Mon, 02 Nov 2009 12:46:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128673#M23377</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-02T12:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Arrays and inputing values from a list</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128674#M23378</link>
      <description>jshuether,&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I think it can't be a value list for an index of array.&lt;BR /&gt;
&lt;BR /&gt;
It's may a similar script that you want:&lt;BR /&gt;
&lt;BR /&gt;
----------------------------------------------------------------------&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
VALUES "H" RANGE (0, ]&lt;BR /&gt;
VALUES "V" RANGE (0, ]&lt;BR /&gt;
&lt;BR /&gt;
IF GLOB_MODPAR_NAME="H" OR GLOB_MODPAR_NAME="V" THEN&lt;BR /&gt;
	FOR I=1 TO H&lt;BR /&gt;
		FOR Q=1 TO V&lt;BR /&gt;
			window &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;&lt;Q&gt;=""&lt;BR /&gt;
			PARAMETERS window &lt;I&gt;&lt;/I&gt;&lt;/Q&gt;&lt;S&gt;&lt;Q&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/Q&gt;&lt;/S&gt;&lt;Q&gt;=""&lt;BR /&gt;
		NEXT Q&lt;BR /&gt;
	NEXT I&lt;BR /&gt;
ENDIF&lt;BR /&gt;
&lt;BR /&gt;
DIM xx0 [][]&lt;BR /&gt;
FOR I=1 TO H&lt;BR /&gt;
	FOR Q=1 TO V&lt;BR /&gt;
		xx0 &lt;I&gt;&lt;/I&gt;&lt;/Q&gt;&lt;S&gt;&lt;Q&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/Q&gt;&lt;/S&gt;&lt;Q&gt;=10*I+Q&lt;BR /&gt;
		PARAMETERS xx0 &lt;I&gt;&lt;/I&gt;&lt;/Q&gt;&lt;S&gt;&lt;Q&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/Q&gt;&lt;/S&gt;&lt;Q&gt;=10*I+Q&lt;BR /&gt;
	NEXT Q&lt;BR /&gt;
NEXT I&lt;BR /&gt;
&lt;BR /&gt;
VALUES "xx" xx0				! code of grids&lt;BR /&gt;
&lt;BR /&gt;
VALUES "type" "fixed", "casement", "awning" &lt;BR /&gt;
wtype=type&lt;BR /&gt;
&lt;BR /&gt;
hh=INT(xx/10)&lt;BR /&gt;
vv=xx-hh*10&lt;BR /&gt;
&lt;BR /&gt;
window [hh][vv]=wtype&lt;BR /&gt;
PARAMETERS window [hh][vv]=wtype&lt;BR /&gt;
&lt;BR /&gt;
----------------------------------------------------------------------&lt;BR /&gt;
&lt;BR /&gt;
You have to create the parameters: h, v, xx, type, window&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Cheers,&lt;/Q&gt;</description>
      <pubDate>Mon, 02 Nov 2009 14:05:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Arrays-and-inputing-values-from-a-list/m-p/128674#M23378</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-02T14:05:46Z</dc:date>
    </item>
  </channel>
</rss>

