Filling a value based on another value

I have, what I think, is a very simple problem :slight_smile:

I have Parameter 1 that has a series of values (A,B,C) and I want Parameter B to use a specific value based on Parameter 1 (if A, AA; if B, BB, if C,CC). So I have this node that kinda does it manually but I get the dreaded Deferencing non-poiinter





















Any help is much appreciated :slight_smile:


EXACTLY what i needed, thanks a million

While the solution provided above should work well irrespective of the number of sheets (provided the lengths of List 1 and List 2 match), the reason for the error in your definition is something else

Ive expanded on that and i want to filter the list of sheets using a parameter but after the List.FilterByBoolMask i get a series of values. How do i get the sheets?


As Vikram shows you above, you are connecting the wrong list into your list.filter. What you are filtering is a list of parameter values not the list of elements. See below.



PS: Didn’t realize Tim had already made a similar suggestion. Excuse the repetition

God im stupid, thanks a lot to both of you for making me look like an… :slight_smile: