rs.OsnapMode not work in python

rs.OsnapMode( mode=256 ) is End in python help,but it doesnt work in rhino Version 5 SR13 64-bit
(5.13.60913.21340, 9/13/2016)
Commercial

How can I do?

Yes, there seems to be a discrepancy between the Rhino/Python Help file and the actual RhinoCommon implementation…

Can you try the settings below and see if it works? (End would be 131072)

–Mitch

Got it, thanks.

https://mcneel.myjetbrains.com/youtrack/issue/RH-39062

Hi Helvetosaur,

OK,Thanks.
It works well. Very Good!