Bug in Python for Rhino in Rhino 6 with SelNone and Cancel?

rhino6

#1

Hello,

a python script that I had set up in Rhino 5 is no longer working in Rhino 6 because the

rs.Command(‘SelNone’)

is not cancelling a selection. I have not learned what the difference is between ‘SelNone’ , ‘SelNone’ , ‘-SelNone’ and '-SelNone’ but in any case I tried them all and none of them cancel a selection. Neither does

rs.Command(‘Cancel’)

in all it’s variations.

Is this a bug and if yes, what is the roadmap for this?

thanks


#2

Try using rs.UnselectAllObjects() instead of rs.Command(‘SelNone’)… --Mitch