MoI discussion forum
MoI discussion forum

Full Version: Snaps - Keyboard Shorcuts??

From: barney (BWCROFT)
10 Aug   [#1]
Is it possible to create keyboard shortcuts to toggle the three snap buttons at the bottom of the screen?
From: Michael Gibson
10 Aug   [#2] In reply to [#1]
Hi Barney,

re:
> Is it possible to create keyboard shortcuts to toggle the three snap buttons at the bottom of the screen?

Yes, put in one of these for the "Command" part of the shortcut key under Options > Shortcut keys:


script: /* Toggle grid snap */ moi.drawingAids.gridSnap = !moi.drawingAids.gridSnap;


script: /* Toggle straight snap */ moi.drawingAids.straightSnap = !moi.drawingAids.straightSnap;


script: /* Toggle object snap */ moi.drawingAids.objectSnap = !moi.drawingAids.objectSnap;


- Michael
From: barney (BWCROFT)
11 Aug   [#3] In reply to [#2]
Thank You Michael.

I've built a touchpad screen that issues my favourite keyboard shortcut, and I wanted to add these to it.
Barny