<?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: Use some values from other value list in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359906#M1427</link>
    <description>&lt;P&gt;Thank you for the tips, will check it out.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Oct 2022 06:09:11 GMT</pubDate>
    <dc:creator>jc4d</dc:creator>
    <dc:date>2022-10-26T06:09:11Z</dc:date>
    <item>
      <title>Use some values from other value list</title>
      <link>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359764#M1416</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have one values{2} list containing some model types and a second values{2} containing all the possible dimensions among all the models.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, the thing is that depending on the selected model type it could use some of the values sets on the second list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I have 3 model type and the dimensions that all of them altogether could use are 6 different sizes. Now when I choose the first model type, only the first 3 sizes should be displayed in the parameters, if I choose a second model type, then that one will use only the last two sizes from the second list... I really hope all this makes sense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have setup a starting script, but not sure how to tell to each IF condition to display some values from the main size list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;VALUES{2} "model_type" 1,"ORIVENT 51",	2,"ORIVENT 21",	3,"ORIVENT 23"


VALUES{2} "all_base_hgt" 1,"200", 2,"350", 3,"400", 4,"750", 5,"900", 6,"1100"

!!! Problem, how to "call" some of the values from "all_base_hgt" to each IF condition
IF model_type = 1 THEN
	VALUES{2} "base_hgt" 1,"400", 2,"750"
ENDIF

IF model_type = 2 THEN
	VALUES{2} "base_hgt" 1,"400", 2,"750", 3,"900"
ENDIF

IF model_type = 3 THEN
	VALUES{2} "base_hgt" 1,"400", 3,"900"
ENDIF&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 07:03:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359764#M1416</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-10-25T07:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Use some values from other value list</title>
      <link>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359768#M1417</link>
      <description>&lt;P&gt;You don't need the parameter 'all_base_hgt' as you are setting the parameter 'base_hgt', and that seems to be working just fine depending on the model you choose.&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-inline" image-alt="BarryKelly_0-1666682978622.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/30947i2FCF6C7A651A3340/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BarryKelly_0-1666682978622.png" alt="BarryKelly_0-1666682978622.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BarryKelly_1-1666683032371.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/30948iDB6BAF82BD71B07A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BarryKelly_1-1666683032371.png" alt="BarryKelly_1-1666683032371.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 07:32:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359768#M1417</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2022-10-25T07:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Use some values from other value list</title>
      <link>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359774#M1418</link>
      <description>&lt;P&gt;Thanks, yeah that's how I got it working in the beginning, but let's say that the value in the second values{2} list changes, I would have to go throught all the IF to update them, and I would like to have a more parametric way to deal with. Hope it makes sense.&lt;BR /&gt;&lt;BR /&gt;Edited the code here with the right comments on what I'm going after:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;VALUES{2} "model_type" 1,"ORIVENT 51",	2,"ORIVENT 21",	3,"ORIVENT 23"


VALUES{2} "all_base_hgt" 1,"200", 2,"350", 3,"400", 4,"750", 5,"900", 6,"1100"


IF model_type = 1 THEN
	!!!!Access here the index 1 and 3 from all_base_hgt
ENDIF

IF model_type = 2 THEN
	!!!!Access here the index 1,2 and 3 from all_base_hgt
ENDIF

IF model_type = 3 THEN
	!!!!Access here the index 5 and 6 from all_base_hgt
ENDIF&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 25 Oct 2022 07:48:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359774#M1418</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-10-25T07:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Use some values from other value list</title>
      <link>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359782#M1419</link>
      <description>&lt;P&gt;I don't think you can pick and choose values from a value list to use in another value list.&lt;/P&gt;
&lt;P&gt;Maybe you need to create an array to store the values and then populate the value lists from the array values?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 08:36:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359782#M1419</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2022-10-25T08:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Use some values from other value list</title>
      <link>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359783#M1420</link>
      <description>&lt;P&gt;Now I got lost &lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;Is there any example out there in the wild that I can check?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 08:44:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359783#M1420</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-10-25T08:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Use some values from other value list</title>
      <link>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359784#M1421</link>
      <description>&lt;P&gt;This seems very round about... Why not just use&amp;nbsp;&lt;STRONG&gt;VALUES&lt;/STRONG&gt; instead that point at variables? Then have your use cases later point at those same variables, rather than trying to make the descriptor a variable, which is not nesessarily actually relevant later. In your current case &lt;EM&gt;base_hgt&lt;/EM&gt;&amp;nbsp;&lt;EM&gt;= 1&lt;/EM&gt; might actually be resulting in using a value of 1100 instead of 200. Usually you would be using&amp;nbsp;&lt;STRONG&gt;VALUES{2}&lt;/STRONG&gt; to provide a name of some options such as a type of joint type or skirting type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;v1 = 0.200
v2 = 0.350
v3 = 0.400
v4 = 0.750
v5 = 0.900
v6 = 1.100

IF model_type = 1 THEN
	VALUES "base_hgt" v3, v4
ENDIF

IF model_type = 2 THEN
	VALUES "base_hgt" v3, v4, v5
ENDIF

IF model_type = 3 THEN
	VALUES "base_hgt" v3,  v5
ENDIF&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ling.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 08:46:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359784#M1421</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2022-10-25T08:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Use some values from other value list</title>
      <link>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359787#M1422</link>
      <description>&lt;P&gt;That's great &lt;SPAN&gt;workaround&lt;/SPAN&gt;, the idea behind using VALUES{2} is that the designers always change their mind on the therminology used in the parameters, so having control over the names on a centralized way has saved me huge amount of hours.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will give it a spin to your solution to see how it adapts to my idea &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I ended up doing (not to my liking, keeping track of one change into so many places) is this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jc4d_0-1666688166230.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/30951iA278F246BA8219A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jc4d_0-1666688166230.png" alt="jc4d_0-1666688166230.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 09:08:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359787#M1422</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-10-25T09:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Use some values from other value list</title>
      <link>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359791#M1423</link>
      <description>&lt;P&gt;I was trying to use the subroutine way, but couldn't wrap my head around &lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 09:48:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359791#M1423</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-10-25T09:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Use some values from other value list</title>
      <link>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359820#M1424</link>
      <description>&lt;P&gt;If you use only dimensions, I think &lt;STRONG&gt;Lingwisyer&lt;/STRONG&gt; suggestion to use simple value is the best. Because looking at your screenshots base_hgt has same int value that stands for different dimensions...&lt;/P&gt;&lt;P&gt;If you do want to use values{2} I'd try to use "integer variables" instead of actual integer numbers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Master script:&lt;/P&gt;&lt;P&gt;base200=200&lt;/P&gt;&lt;P&gt;base400=400&lt;/P&gt;&lt;P&gt;...and so on it doesn't have to be only 1,2,3,...&lt;/P&gt;&lt;P&gt;tbh redundant if basically difference is only dimensions (can skip it)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;parameter script:&lt;/P&gt;&lt;P&gt;values{2} "base_hgt" base200, "200", base400, "400",...&lt;/P&gt;&lt;P&gt;or straight if skipped master&lt;/P&gt;&lt;P&gt;values{2} "base_hgt" 200, "200", 400, "400"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in that case chance of mistake is lower. plus you always can make nice conditions (because "base_hgt" has integer type), kinda&lt;/P&gt;&lt;P&gt;if base_hgt = 400 then _code_&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;just be careful when use that variable base_hgt for modelling (because of picking actual values 200, 400, not straight forward 1,2,3 you can use it there too) not forget to multiply by 0.001&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 14:18:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359820#M1424</guid>
      <dc:creator>A_ Smith</dc:creator>
      <dc:date>2022-10-25T14:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Use some values from other value list</title>
      <link>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359854#M1425</link>
      <description>&lt;P&gt;For values lists based on another value list you can do some sneaky stuff!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;values{2} "modeltype",
			1, "Model 1",
			2, "Model 2"

dict cs
cs.sizes[1].s[1] = 100
cs.sizes[1].s[2] = 200
cs.sizes[2].s[1] = 150
cs.sizes[2].s[2] = 300
cs.sizes[2].s[3] = 450

values "sizes" cs.sizes[modeltype].s&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A small breakdown of whats happening in this brilliant hack (brilliant because it's working due a nice language feature, the DICT, that founds its way into GDL):&lt;/P&gt;&lt;P&gt;We declare the models and assign a number to them with values{2}, which we will then use as an index for the first level of the dict which happens to be an array. Luckily for us you can stuff an array inside the array (here called just "s"). So you'd put all the applicable sizes into "s".&lt;/P&gt;&lt;P&gt;A last "values" command and you're good to go. Achieving a lot in a few elegant lines of code.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 19:15:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359854#M1425</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2022-10-25T19:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Use some values from other value list</title>
      <link>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359905#M1426</link>
      <description>&lt;P&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/640"&gt;@runxel&lt;/a&gt;wow, great solution, thank you for your time and knowledge &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having a braint fart here (I'm jumping between Python(some blender stuff) and GDL). sorry for that.&lt;/P&gt;&lt;P&gt;Now that we have the values displayed in the parameters, how to tell to e.g. a brick object to change their ZZYZX accordingly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 06:03:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359905#M1426</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-10-26T06:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Use some values from other value list</title>
      <link>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359906#M1427</link>
      <description>&lt;P&gt;Thank you for the tips, will check it out.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 06:09:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359906#M1427</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-10-26T06:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Use some values from other value list</title>
      <link>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359913#M1428</link>
      <description>&lt;P&gt;Ok, brain fart time is over, on the Master Script:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ZZYZX = base_hgt*0.001&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Thanks to &lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/12768"&gt;@A_ Smith&lt;/a&gt;&amp;nbsp; for the 0.001 tip.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 07:08:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359913#M1428</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-10-26T07:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Use some values from other value list</title>
      <link>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359928#M1429</link>
      <description>&lt;P&gt;I hope this question is relevant to the same topic, otherwise mods can move it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's say that the designers don't want to see any numeric value in the parameter list, instead they want to see a text (string) and that string is associated to a dimension in the dictionary.&lt;/P&gt;&lt;P&gt;Is there a way to do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a mockup idea (I know it doesn't run)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;dict cs
cs.sizes[1].s[1] = "low model"
cs.sizes[1].s[2] = "High model"
cs.sizes[2].s[1] = "Mid size model"
cs.sizes[2].s[2] = "Other custom strgin"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "Low model" has a associated dimension of 100, "High model" a dimension of 200, "Mid size model" 150 and "Other custom string" 450.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 09:11:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359928#M1429</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-10-26T09:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Use some values from other value list</title>
      <link>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359931#M1430</link>
      <description>&lt;P&gt;It is in this type of situation in which you would use&amp;nbsp;&lt;STRONG&gt;VALUES{2}&amp;nbsp;&lt;/STRONG&gt;as you are displaying descriptors rather than actual values. Using a similar method to Lucas you could use the result from this to pull the relevant values from an array if your options are based on the same basic shapes. Am unsure what will happen if your&amp;nbsp;&lt;STRONG&gt;VALUES{2}&lt;/STRONG&gt; does not step by 1, but if that is not a requirement, you might be able to skip a step?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ling.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 09:27:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359931#M1430</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2022-10-26T09:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Use some values from other value list</title>
      <link>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359985#M1431</link>
      <description>&lt;P&gt;Idk how to use dict. I assume it's more accurate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;though if problem is only in variables naming you can do &lt;A title="base_hgt" href="https://drive.google.com/file/d/1rgblbG9s44PlqkdjHI65AefU_K5UKQyo/view?usp=drivesdk" target="_self"&gt;sometimes like this &lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 13:30:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/359985#M1431</guid>
      <dc:creator>A_ Smith</dc:creator>
      <dc:date>2022-10-26T13:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Use some values from other value list</title>
      <link>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/360143#M1432</link>
      <description>&lt;P&gt;Another take on the case with very easy adjustments:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;values{2} "modeltype",
	1, "Model 1",
	2, "Model 2"

dict cs
cs.sizes[1].s[1] = 100
cs.sizes[1].t[1] = "Short"
cs.sizes[1].s[2] = 200
cs.sizes[1].t[2] = "Tall"
cs.sizes[2].s[1] = 150
cs.sizes[2].t[1] = "Grande"
cs.sizes[2].s[2] = 300
cs.sizes[2].t[2] = "Venti"
cs.sizes[2].s[3] = 450
cs.sizes[2].t[3] = "Just normal coffee pls"

values{2} "sizes",
	cs.sizes[modeltype].s, cs.sizes[modeltype].t&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the user never sees the index numbers from modeltype there never should be a case where they are not consecutive. But if they are: As long they are integers and bigger than zero it should be fine. Archicad would fill the missing gaps between in the array.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 09:20:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Use-some-values-from-other-value-list/m-p/360143#M1432</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2022-10-27T09:20:26Z</dc:date>
    </item>
  </channel>
</rss>

