<?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: Cascading values lists in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Cascading-values-lists/m-p/78368#M28024</link>
    <description>Example: This is from my steel W shape object. Rather than a list of every shape, I use one param for the height and another for the weight. Certain heights only have certain weights, so the weight values offered vary depending on the selected height.&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;!! htdes is height designation
!! wtdes is weight designation

VALUES 'htdes' '4','5','6','8','10','12','14','16','18','21','24','36'

IF htdes='4' THEN
    VALUES 'wtdes' '13'
ENDIF
IF htdes='5' THEN
    VALUES 'wtdes' '16','19'
ENDIF

!! etc for each height value....
&lt;/PRE&gt;</description>
    <pubDate>Tue, 22 Apr 2008 09:34:23 GMT</pubDate>
    <dc:creator>James Murray</dc:creator>
    <dc:date>2008-04-22T09:34:23Z</dc:date>
    <item>
      <title>Cascading values lists</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Cascading-values-lists/m-p/78367#M28023</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi all,&lt;BR /&gt;
&lt;BR /&gt;
Is it possible, and if so how, to have a cascading values list such that by selecting a particular value for one parameter you can thereby set the possible values for a second parameter? &lt;BR /&gt;
&lt;BR /&gt;
I have set up a values list for the first, unrestricted, parameter...no issues there. I then tried to use a series of IF/THEN statements to restrict the possible values for the second parameter based on the selection for the first but it seems that AC will not read these statements to generate the selection criteria. &lt;BR /&gt;
&lt;BR /&gt;
Looking through the GDL Reference manual and the cookbook doesn't seem to yeild any answers tonight. Or perhaps I am just tired and don't see them.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 22 Apr 2008 04:43:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Cascading-values-lists/m-p/78367#M28023</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2008-04-22T04:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cascading values lists</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Cascading-values-lists/m-p/78368#M28024</link>
      <description>Example: This is from my steel W shape object. Rather than a list of every shape, I use one param for the height and another for the weight. Certain heights only have certain weights, so the weight values offered vary depending on the selected height.&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;!! htdes is height designation
!! wtdes is weight designation

VALUES 'htdes' '4','5','6','8','10','12','14','16','18','21','24','36'

IF htdes='4' THEN
    VALUES 'wtdes' '13'
ENDIF
IF htdes='5' THEN
    VALUES 'wtdes' '16','19'
ENDIF

!! etc for each height value....
&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Apr 2008 09:34:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Cascading-values-lists/m-p/78368#M28024</guid>
      <dc:creator>James Murray</dc:creator>
      <dc:date>2008-04-22T09:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cascading values lists</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Cascading-values-lists/m-p/78369#M28025</link>
      <description>Thanks James. &lt;BR /&gt;
&lt;BR /&gt;
I think I tried to declare all values up front and then create the IF/THEN statements to control what showed up - it didn't work so I deleted that portion of the code. &lt;BR /&gt;
&lt;BR /&gt;
What you show in your example makes much more sense if I stop to think about it.</description>
      <pubDate>Wed, 23 Apr 2008 01:08:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Cascading-values-lists/m-p/78369#M28025</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2008-04-23T01:08:03Z</dc:date>
    </item>
  </channel>
</rss>

