How to fix this "Runtime error (TypeErrorException): Guid is not iterable"

Hi everybody. I’m totally new to GhPython and try to play with it, wrote some boolean expressions and then error message popped out which told me “Guid is not iterable”. If anyone knows how to fix it? Thx. (7.3 KB)

What are you trying to do? it is telling you that the problem is on line 4 where you set ja equal to the boolean test “is object y in collection x?” It is telling you that object x is not in an iterable collection but rather a guid representing a geometry object.
If x is meant to be a collection then it may be something to do with right clicking on input x and setting it to list access…?

Really appreciate. It’s my fault. I forgot to change the access type. Sad. It works now. :joy: