sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Right click suppression

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 2 Posters 310 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.
    • R Offline
      rv1974
      last edited by

      Hi!
      Is there a way to prevent rubies from being shown in context\right click menu?
      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by

        You would need to open the Ruby source in an editor, and comment-out the lines that the menu, and re-start SketchUp.

        The code that adds the context menu will look like this:

        
        UI.add_context_menu_handler("Menu Text") {
        
        }
        
        

        So you would need to comment-out using the '#' character; every line in the code block (everything between { and } )

        
        #UI.add_context_menu_handler("Menu Text") {
        #
        # ...
        #}
        
        

        Hi

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

          Well.. it looks like I need a ruby-predator that would kick others out.)

          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