I have a script that uses Rhino.AddLeader that has worked for many years. It now won’t add a leader to the document and the function returns Null.
The rest of the script works fine. I’ve also tested this with a single line script in a blank document and it also fails. Seems to be an issue with the latest update but I haven’t tried rolling back yet.
obj = Rhino.AddLeader(Array(Array(0, 0, 0), Array(1, 1, 0), Array(2, 3, 0)))
If isNull(obj) Then Rhino.Print(“Could not create”)
Changing AddLeader to AddPolyline in the above works fine.
Running Rhino 6 SR22