Wanting to use ghpythonlib.parallel.run to speed up boolean operations

I’m trying to harness the power of ghpythonlib.parallel.run to speed up a bunch of boolean differencing I’m having to do on a project, however I’m not great at scripting. I’m getting an Argument Type Exception error that i’m a little stumped as to how to solve:

I attached my script if anyone out their fancies taking a stab. Any help would be greatly appreciated!

Cheers,

Darcy
181106_quikBool.gh (198.0 KB)

Hi,
I have had the same issue for a while now. The version you show here would work in Rhino5, but when porting to 6 or 7, it stops working - giving that error. I’ve been using this technique in a complex script in Rh5, but the same script then stopped working in later versions, and had to use the serial version of it.

I finally gave it a bit of thought today and got it working in Rh7. Do not know about the exact details why, but by zipping the variables for the parallel.run, the error goes away.

And then inside the function, just grabbing the first index of the zip-list.