Is it a new Bug in GH 1 ? Split tree To divide curve!

hi everybody …
I worked in Gh 1 and practice a tutorial but in middle of practice when I want to connect the Split tree to divide curve an error occurred … and I think that its a bug?! (29.6 KB)

What is the error message you’re getting with that red component? It behaves as expected here.

1 Like
  1. Solution exception:Object reference not set to an instance of an object.

Hmm, looks like a bug, but potentially one that has been fixed between your and my version. The list of curves you’re feeding into the Divide component has a lot of null values, does the error go away if you clean that data tree and remove all null values?

1 Like

it’s Worked So So :slight_smile:
its Work in error too

unfortunately its not worked :thinking:

Can’t look at the file, but maybe a curve has the length 0?

What exact Rhino version or build date are you on?

i think its was a last version … !
actuly . when i opend the tuterial file in GH too the problem is there yet .

It’s certainly fairly new. I myself use internal daily builds so I’m usually somewhat ahead of the curve, but I don’t think any code has changed on Divide Curve in several months.

Can you check one more thing? Disable the Parallel computing option on the Divide component, the two dots in the upper left corner of the component should turn into one dot. I don’t expect this is going to help, but that option represents the last time the code for that component was changed.

1 Like

YES :+1:
By disabling the Parallel computing its seem that fixed.

thanx for answering.
NO the length is not 0.
the Parallel computing in divide curve was the problem.

Thanks, someone must have noticed an oversight and fixed it between your and my version. I’ve added some more null-checks just in case.