hello,
I need to solve this problem, please.
thanks,
Roy
sort list.gh (3.0 KB)
You’ve provided no data to sort? Not too sure what you’re after.
No data are sorting because B is disable, in this case, when B is null, I want to sort A.
When B is able, I want to sort C.
The question is pretty easy.
your “C” component is a Solid Difference.
I think you have to provide more information to get appropriate help.
assuming B is a single value, and stuff on canvas are just placeholders for something else…
B Null:
B not Null:
sort list_inno.gh (8.4 KB)
Hi Inno,
Your solution gives no result if B is disabled and a number instead of the solid difference if B is enabled.
So it doesn’t work. Thanks anyway to have tried.
not really
Yes, of course. And…?
I want to filter the result of the solid difference.
This solid difference work perfectly when B is NOT NULL. So C is the solid difference between A and B.
BUT…if B is null, I need to return the solid A, instead of the error message.
i would do it with a scripting component including the boolean difference
but here is a more grasshopper-like approach… there might be a shorter version.
SolidDifference_error_handling.gh (7.9 KB)
Thanks, Tom!
This solves the problem perfectly. I haven’t yet included it as a “solution” to see if someone could find a shorter version, but this is the solution for me.