Is there a key-in for snap divisor?

The key-in "ACCUDRAW DIALOG SNAPDIVISOR" brings up the snap divisor dialog, but is there a key-in to set the value without the dialog? ("ACCUDRAW DIALOG SNAPDIVISOR 1" does not work). If not perhaps there is an API function/method to set the divisor?

Thanks in advance,

Loren.