Hi Steve,
> Just wondering if it is possible to set up a shortcut key to
> bring up the object snap window?
This one should do it:
code: script:var cb = moi.ui.getUIPanel('moi://ui/CommandBar.htm'); moi.ui.showMenu( 'ObjectSnapMenu.htm', cb.document.body.lastChild.lastChild, 2, 0 );
Also another variation - this next version will bring it up as a dialog window that can remain open instead of automatically closing like the regular menu will do:
code: script:moi.ui.createDialog( 'moi://ui/ObjectSnapMenu.htm' );
Hope this helps!
- Michael
|