sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Move, Rotate and Scale on right click Menu

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    3 Posts 2 Posters 213 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • broomstickB Offline
      broomstick
      last edited by

      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 πŸ˜‰

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        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...


        #MSR.rb

        TIG

        1 Reply Last reply Reply Quote 0
        • broomstickB Offline
          broomstick
          last edited by

          😍 😍 😍

          Thank you so much πŸ˜„

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement