Problem with if how to remove any of from a if?


#1

Hi all
how do I get remove any of


#2

Edit the piston ID from your second screenshot.

Regarding ‘any of’, I think that will work as is even if there’s only one device in the variable, I don’t actually remember seeing that from older versions of webcore.

Edit: I guess ‘any of’ has always been there, just have not noticed it :slight_smile:


#3

A variable of type device can be set to a list of devices. The editor doesn’t know how you are going to use it so gives you the ‘any of’ or ‘all of’ options.


#4

what is odd it not there if you do not use a variable


#5

Yeah, I don’t know what the reasoning is behind it but it works the same with one or more devices within the device variable.