sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    Model.select_tool "PaintTool"

    Scheduled Pinned Locked Moved Developers' Forum
    5 Posts 5 Posters 318 Views 5 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.
    • T Offline
      tomasz
      last edited by

      I am wondering whether there is a method to invoke native PaintTool without bringing in the Paint Bucket window?
      I have already tested those:

      Sketchup.send_action(21074)
      Sketchup.send_action(CMD_PAINT)
      Sketchup.send_action('selectPaintTool;')
      

      Author of [Thea Render for SketchUp](http://www.thearender.com/sketchup)

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

        UI.show_inspector("Materials")

        If you substitute any 'name' it will open that browser's dialog... but it leaves the current tool unchanged.

        TIG

        1 Reply Last reply Reply Quote 0
        • tt_suT Offline
          tt_su
          last edited by

          @tig said:

          UI.show_inspector("Materials")

          If you substitute any 'name' it will open that browser's dialog... but it leaves the current tool unchanged.

          He want's to do the exact opposite.
          As far as I can tell there is no way to do that. I'd recommend you file a feature request.

          1 Reply Last reply Reply Quote 0
          • fredo6F Offline
            fredo6
            last edited by

            There is a feature request to have show / hide / visible? control over the inspector dialog boxes. It should cover it... when it comes...

            Fredo

            1 Reply Last reply Reply Quote 0
            • Dan RathbunD Offline
              Dan Rathbun
              last edited by

              @tomasz,

              Looks like a custom paint tool using the same cursor is in order...

              I'm not here much anymore.

              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