Move, Rotate and Scale on right click Menu
-
Hi, I am posting a question to plugin developers: would it be difficult to have the three main tools, MOVE - ROTATE - SCALE, as selectable commands in the right click menu?
Is there already a plugin that does so?
I would find it useful for my workflow (I know there are shortcuts and stuff, but sometimes I can't use my left hand and clicking on the buttons slows me down).
I hope to have some answers
-
This code adds Move/Scale/Rotate to the context-menu if something is selected.
The code is very simple and can be adjusted as desired...require('sketchup.rb') unless file_loaded?(__FILE__) UI.add_context_menu_handler{|menu| if Sketchup.active_model.selection[0] menu.add_item('Move...'){Sketchup.send_action("selectMoveTool;")} menu.add_item('Scale...'){Sketchup.send_action("selectScaleTool;")} menu.add_item('Rotate...'){Sketchup.send_action("selectRotateTool;")} end } end file_loaded(__FILE__)
Put the rb file into your Plugins folder and restart Sketchup to see the additional commands in the context-menu...
-
Thank you so much
Advertisement