Getting parameters from two ducttypes

Hi guys!
I’m currently working on a project where I would like to get parameters from two ducttypes.
I’m stock. I can’t get any information from my lists I created. What am I doing wrong here?

Your input in the element.getparametervaluebyname is a string (the element name) and not the element itself. If you want to select only the Lindab Safe ducts you should use a list filter by bool mask(inputting all the elements) with the condition that the element.name is equal to the desired ones, without the string replace,umber to string and string length nodes.

I only get the whole category, ducts. I can’t filter Rects or Safes.

Hi @Christian_Vestesen

Follow the markup.

1 Like

1 Like

Thank you guys! It worked.
I found a new “problem”.

Is it possible to take a list like:
[1] List

  • 1
  • 2
  • 3
    [2] List
    a
    b
    c

and then take these lists and combine them so 1 will be combined with a, 2 with b and so on?
I have a lists where I got more than 1000 string/elements, whatever it is, and I would like to combine these.

You can just use the ‘+’ operator on strings, like so:

2 Likes

T_Pover

When I do as you suggest I get a + b = ab, for instance, 1000 + 200 = 1200 :slight_smile:

As in the example, you should convert numbers to strings before joining them together. Use the ‘String from Object’ node for that.

2 Likes

thank you! Got it now.