Thank you for your reply! Sorry for my late response. I’ve tried what you have mentioned but the list is empty. (see image below)
Is it because i wrote down the wrong code in the code block?
I think I’ve solved it.
I used the “ReplaceByCondition” node. But somehow this node didnt work with a boolean mask node. So I’ve replace this by a" list.filterbystring" node.
But now I encounter a new problem. Now I have a list with 12 window elements with the parameter “gevellatei” with a yes value (yes/no parameter) with a true value.
I need to filter this list again for the following parameter: “kozijn_merk”.
The workflow idea what I actually want:
- Selecting all windows elements (worked)
- Filtering all windows elements with the parameter “gevellatei” (worked)
- Filtering the output from 2. again but this time with the parameter “kozijn_merk” (not working yet)
- seperate the list into each individually elements (with list.seperate maybe??) so I can connect this to the “Element.SetParameterByName”
I’ve tried to explain this in a image (see below).