script not working?

 From:  Michael Gibson
3993.4 In reply to 3993.3 
Hi Armin, for toggling Straight snap, use this:

script:moi.drawingAids.straightSnap = !moi.drawingAids.straightSnap;

Yeah that other one called "Axis snap" is what enables snapping on to the x and y axis of the grid as if they were lines, in the UI it is controlled by this check box here:

- Michael