I have three lists
List 1: A list of Class Values
List 2: A list of Load Values
List 3: A list of what cross section to adopt for each load value
the problem is:
For each Class Value there is a specific List of Cross Section Values based on Load Values
but i’m facing a problem… I can’t find a way to do that.
I Hope that somebody can help me
What happens when you put a watch node on the third output of the cross section codeblock?
I get the list wich is under the cross section Code Block
I already tried to change lacing to longest but it didn’t work
@ramoon.bandeira See if this works
But can you please explain to me what this line means?
Other than this line everything else in the code block defines the functions class132 and class232
In this line, one of the above defined functions is called depending on the class value input
If the class value fed in was a number, replication guides wouldn’t be required. The replication guides (<1> and <2>) are required to process the list of class values.
Hope I’ve managed to explain the statement.
And how would that last line be if i had more class values?
In fact i have 24 Class Values…
CV = 1.12
CV = 1.13
CV = 1.22
CV = 1.23
CV = 1.32
CV = 1.33
CV = 1.42
CV = 1.43
CV = 1.52
CV = 1.53
CV = 1.62
CV = 1.63
CV = 2.12
CV = 2.13
CV = 2.22
CV = 2.23
CV = 2.32
CV = 2.33
CV = 2.42
CV = 2.43
CV = 2.52
CV = 2.53
CV = 2.62
CV = 2.63
How would i set up that last line?
I created a really long list containing all values for cross sections for every class value
but without that last line it won’t work
@Vikram_Subbaiah Could you please help me?
@ramoon.bandeira A similar conditional statement would be quite confusing in this case
Try a different approach. Something like this …
cscv.dyn (4.2 KB)
I appreciate your response but i already had my response
i did it the long way
[quote=“Vikram_Subbaiah, post:11, topic:10884”]
A similar conditional statement would be quite confusing in this case
[/quote]This sure reminds me of a lookup table. Do we have any nodes that process lookup tables?