Sweep Problem

 From:  Michael Gibson
3564.8 In reply to 3564.5 
Hi armin,

> Another question, which is not really related to my sweep
> problem, is there a way to temporarily switch the snaps
> to only "endpoint" for example, without going to the settings
> dialog at the bottom of the screen.

Well, one thing is when you go to that menu (the one that pops up from the Object Snap button on the bottom toolbar when you click the arrow above it), you can right-click on one of the snaps which will turn off all of the other ones and only keep it on.

Then later on you can right-click on that same one again to re-enable all the others.

You can also set up the following on a keyboard shortcut to make that menu open up with a keystroke instead of going to the button to launch it:

script: /* Pop up the object snap menu */ var cb = moi.ui.getUIPanel('moi://ui/CommandBar.htm'); moi.ui.showMenu( 'ObjectSnapMenu.htm', cb.document.body.lastChild.lastChild, 2, 0 );


Or this variation which shows it in the center of the screen:

script: /* Show object snap dialog */ moi.ui.createDialog( 'moi://ui/ObjectSnapMenu.htm' );


That's probably better than something that is only hard-coded to just set "End" only, because by showing the menu and using the right-click as described above you can set any particular snap as the only active one instead of only end.


- Michael