Question About Boolean Output for an Empty Result in a Panel

Hello everyone, I have a simple question. Although I have tried with a lot of components but I wasn’t successful. I will not post them here because they are useless. Simply I have a component that results in an empty panel (no result). Is there a way to output a False boolean in case the panel is empty. Otherwise, the boolean will be True for any result in the panel? Thank you so much for your help!

Something like this maybe:


230838_EmptyPanelToBoolean_00.gh (4.9 KB)

It’s always good to at least post a minimal file that contains your input data and expected output.

2 Likes

Thank you so much @AndersDeleuran. Much appreciated. You’re right! Next time I will consider this by adding input data. Thank you once again

1 Like

Possible to make this script to work also with “No data was collected…”?


NoData_Boolean.gh (4.7 KB)

This might be enough for both conditions:


NoData_Boolean.gh (5.3 KB)

1 Like