Filling a value based on another value


#1

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

IfDeferencingPointer

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Any help is much appreciated :slight_smile:

Thanks


#2


#3

EXACTLY what i needed, thanks a million


#4

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


#5

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?


#6

Daniel,

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.

 


#7

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


#8

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