Move and Select tools allways in context menu
-
Is it possible to have "Select" and "Move" tool available always in right-click context menu ?
-
The faster way would be using the shortcuts:
- spacebar: select tool
- (m)ove: move tool
-
Obviously you don't smoke as much as I do.
After all day hard work, few hundred restarts of the program and lot of browsing and investigating available scripts - i have done this:
MoveTool.rb
require 'sketchup.rb'
if( not file_loaded? "MoveTool.rb" )
Sketchup.active_model.selection
UI.add_context_menu_handler do |menu|
menu.add_separator
menu.add_item("Move tool"){Sketchup.send_action "selectMoveTool:"}
menu.add_item("Select tool"){Sketchup.send_action "selectSelectionTool:"}
end
file_loaded "MoveTool.rb"
endThis is my first script and is working for now.
Advertisement