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

    How to stop some plugin toolbars from appearing at startup

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    9 Posts 3 Posters 516 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.
    • T Offline
      troypiggo
      last edited by

      Hi there. I've been building up a library of very cool plugins. A couple of them seem to open little toolbars at startup. eg Profile Builder (what an awesome plugin) and Hatchface. Is there a way to stop this from happening?

      This is not my signature. I type it at the end of every message for quality control.

      1 Reply Last reply Reply Quote 0
      • GaieusG Offline
        Gaieus
        last edited by

        First undock these toolbars (drag the off the toolbar area so that they are floating. Maybe you will need to restart SU to see if this has taken a permanent effect.

        Now go to View > Toolbars and here uncheck what you do not want to appear. Again, at this area you can now save the toolbar positions (just in case)

        Undocking is important first otherwise when you enable them again, they will try to find their places in the dock and mess up your other toolbars. This way, if you need them temporarily (and go to the View menu again to check them), they will appear floating.

        Gai...

        1 Reply Last reply Reply Quote 0
        • jeff hammondJ Offline
          jeff hammond
          last edited by

          hey Caaba.. I believe Troy is on a Mac in which case, the problem lies in how the plugin is coded.

          it's a simple fix (one or two lines of code need edited) but with profile builder, it's not such a simple fix because it's a scrambled code.. so Whaat (orig author) would have to modify it then redistribute.

          there is a thread or two around here discussing what needs changed. I'll try to search for it in a bit. (on a phone & at work so no promises on finding the threads πŸ˜‰ )

          dotdotdot

          1 Reply Last reply Reply Quote 0
          • T Offline
            troypiggo
            last edited by

            Thanks guys. Yes, I'm on a Mac. I might contact Whaat via PM (if OK) and let him know. Will also do a bit of a search on the fix. I assume it means manually editing the ruby code. That's cool. I've been doing a bit of reading about that and was going to have a go at some scripting myself.

            This is not my signature. I type it at the end of every message for quality control.

            1 Reply Last reply Reply Quote 0
            • jeff hammondJ Offline
              jeff hammond
              last edited by

              here's one such post:

              http://forums.sketchucation.com/viewtopic.php?p=147126#p147126

              there are more scattered about in various thread with me asking the authors to make the required changes πŸ˜„

              it's something to do with toolbar.show and or toolbar.restore

              dotdotdot

              1 Reply Last reply Reply Quote 0
              • T Offline
                troypiggo
                last edited by

                @unknownuser said:

                here's one such post:

                http://forums.sketchucation.com/viewtopic.php?p=147126#p147126

                there are more scattered about in various thread with me asking the authors to make the required changes πŸ˜„

                it's something to do with toolbar.show and or toolbar.restore

                Thanks mate. That was a point in the right direction. I opened up the Hatchfaces.rb file and found the line with "toolbar.show" in it. I commented that out, restarted SU and it never shows on startup, which probably suits me considering how often I'll use it. If I close SU with the HF toolbar still open, it won't be there next time I start up.

                Just for kicks, I substituted the line:

                toolbar.show
                

                with:

                ## start troypiggo edit
                #toolbar.show
                state = toolbar.get_last_state                                                  
                if (state == TB_VISIBLE)
                  toolbar.restore
                end
                ## end troypiggo edit
                

                and now it does indeed remember the state of the toolbar when SU was quit. Thanks again for the pointer.

                Profile Builder does appear to be a scrambled ruby script, so I'll need to contact the author. I bought the pro version, so hoping it's supported πŸ˜„

                This is not my signature. I type it at the end of every message for quality control.

                1 Reply Last reply Reply Quote 0
                • jeff hammondJ Offline
                  jeff hammond
                  last edited by

                  it used to be where every plugin with toolbars had this problem. most of the authors have been very good about making their code cross platform these days and maybe they're doing something different than as shown in that thread..

                  hopefully TIG or thomthom (or fredo or jim etc) sees this thread as they'll be able to offer something a lot more meaningful/concrete than what I've spewed out here πŸ˜„

                  dotdotdot

                  1 Reply Last reply Reply Quote 0
                  • GaieusG Offline
                    Gaieus
                    last edited by

                    Sorry guys, it's too hot here. 😲 Thanks Jeff for helping out! πŸ‘

                    Gai...

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      troypiggo
                      last edited by

                      Just found the SoapSkinBubbleTool and it's a little different to stop toolbar opening every time.

                      In the plugins folder there's a folder called SoapSkinBubble, and in there is a file called SoapSkinBubbleMenu.rb. Edit that file and find the line:

                      sbToolbar.show
                      

                      and change that to:

                      ## start troypiggo edit
                      #	sbToolbar.show
                      state = sbToolbar.get_last_state                                                 
                      if (state == TB_VISIBLE)
                        sbToolbar.restore
                      end
                      ## end troypiggo edit
                      

                      This is not my signature. I type it at the end of every message for quality control.

                      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