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

    Default Context Menu Customisation

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    6 Posts 3 Posters 307 Views 3 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.
    • S Offline
      SYD_UK
      last edited by

      Is it possible to modify (add to) the default main context menu (upon right click). It would be usful to have some basic edit commands selectable from this after a right click is invoked, instead of having to select a toolbar for instance.

      1 Reply Last reply Reply Quote 0
      • R Offline
        remus
        last edited by

        i think its possible through ruby (and if it is it certainly wouldnt be very hard.) I havent done it myself though, so i'll wait for someone who knows what theyre doing to explain the process.

        http://remusrendering.wordpress.com/

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

          Many tools are context specific and only use that menu to run from.

          For a tour de force of adding commands see my [old] ContextMenuMenus.rb which adds all [now=most?] of the available send action tools to the context menu in sub-menus... it's attached...ContextMenuMenus.rb

          TIG

          1 Reply Last reply Reply Quote 0
          • S Offline
            SYD_UK
            last edited by

            Thanks TIG, it works great.
            I have abridged the script to display just a shortened Tools
            section on the cascade menu from the context menu directly.
            Incidentally how would you position this new menu item at the
            top of the context menu?

            Kind Regards
            Syd

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

              @syd_uk said:

              Thanks TIG, it works great.
              I have abridged the script to display just a shortened Tools section on the cascade menu from the context menu directly.
              Incidentally how would you position this new menu item at the top of the context menu?
              Syd

              You can't place a custom menu above the standard ones, BUT to get it as near as possible to the top of the custom list you can give the rb file a name that loads before the others [they load alphanumerically] - so for example ###myscript.rb will load ahead of any others...

              TIG

              1 Reply Last reply Reply Quote 0
              • S Offline
                SYD_UK
                last edited by

                Thanks TIG
                Syd

                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