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

    [Plugin] ToolbarBuilder

    Scheduled Pinned Locked Moved Plugins
    32 Posts 9 Posters 1.8k Views 9 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.
    • F Offline
      function
      last edited by

      pressing the save button does nothing for me 😕

      1 Reply Last reply Reply Quote 0
      • renderizaR Offline
        renderiza
        last edited by

        If you have SketchUp Free Version you might need to do this...

        1. Open your default Plugin Folder.

        2. Make New Folder with name "Toolbars"

        3. Try Plugin Again.

        Cheers!

        [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

        1 Reply Last reply Reply Quote 0
        • F Offline
          function
          last edited by

          ah that did it! thanks

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

            Check you have FULL read/write security permissions to the Plugins folder, the manual creation of the subfolder might have fixed it for now but without FULL rights you will get problems with some scripts...

            TIG

            1 Reply Last reply Reply Quote 0
            • H Offline
              hebeijianke
              last edited by

              Hope it can support chinese language
              add some strings
              <!DOCTYPE html>
              <html lang="en-US">

              <head>
              [highlight=#ff4040:2056xzo0]<meta http-equiv="content-type" content="text/html;charset=utf-8">[/highlight:2056xzo0]
              	<title>Smustard ToolbarBuilder</title>
              	
              	<style type="text/css">
              
              1 Reply Last reply Reply Quote 0
              • R Offline
                RickW
                last edited by

                Version 1.0.2 is now uploaded. I added a third button that loads all saved custom toolbars with a single click.

                The problem with generating the buttons at SU launch is that not all .rb files have been loaded when ToolbarBuilder loads, and thus some commands have not been created. This causes errors when the plugin attempts to create the buttons. I will continue to explore possible resolutions to this issue.

                RickW
                [www.smustard.com](http://www.smustard.com)

                1 Reply Last reply Reply Quote 0
                • KrisidiousK Offline
                  Krisidious
                  last edited by

                  How do we make custom bars for plugins that are not listed?

                  By: Kristoff Rand
                  Home DesignerUnique House Plans

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

                    @krisidious said:

                    How do we make custom bars for plugins that are not listed?

                    I'll have to investigate that one. Right now, the plugin queries Toolbars and Command items to generate its list of items for customization. I'll have to see if there's a way to query (usually older) plugins that don't use the Command structure for creating their menu items.

                    EDIT: Are there any in particular that you don't see?

                    RickW
                    [www.smustard.com](http://www.smustard.com)

                    1 Reply Last reply Reply Quote 0
                    • KrisidiousK Offline
                      Krisidious
                      last edited by

                      The one's I'm interested in making toolbars for are SDM tools, Vali Architect and ThomThom's many plugins

                      By: Kristoff Rand
                      Home DesignerUnique House Plans

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

                        Version 1.0.3 is now online, which has full autoloading of saved toolbars at launch, and they remember their positions!

                        Now to investigate Krisidious's request...

                        RickW
                        [www.smustard.com](http://www.smustard.com)

                        1 Reply Last reply Reply Quote 0
                        • panixiaP Offline
                          panixia
                          last edited by

                          @rickw said:

                          EDIT: Are there any in particular that you don't see?

                          i can't see the wire tool button

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            function
                            last edited by

                            Having trouble saving in the new version. I did a clean install of the new sketchup, upgraded to IE 10, turned off all firewalls and made sure the folders all have full read/write. The new version also does not show ordinary sketchup commands.

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

                              @function said:

                              The new version also does not show ordinary sketchup commands.

                              That is correct. It can only address Ruby commands created with UI::Command. Plugins that do not use this (i.e., they create menu items only), will not be available. This is a limitation of the Ruby API.

                              RickW
                              [www.smustard.com](http://www.smustard.com)

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

                                @panixia said:

                                i can't see the wire tool button

                                Strange, it appears on my machine. Try opening the Ruby console before launching the WebDialog and see if there are any messages.
                                WebDialog
                                Resulting Toolbar

                                RickW
                                [www.smustard.com](http://www.smustard.com)

                                1 Reply Last reply Reply Quote 0
                                • F Offline
                                  function
                                  last edited by

                                  can't save to Toolbars folder

                                  ToolbarBuilder callback ; save
                                  Error; #<NameError; undefined local variable or method `d' for #<Smustard;;ToolbarBuilder;0xb369--->>
                                  C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/ToolbarBuilderPro.rb;283;in `write_file'
                                  C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/ToolbarBuilderPro.rb;258;in `create_html'
                                  C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/ToolbarBuilderPro.rb;283;in `call'
                                  C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/ToolbarBuilderPro.rb;283
                                  
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    RickW
                                    last edited by

                                    I'll look into it.

                                    EDIT: fixed (had a variable left over from command line testing, converted it to the "real" variable).

                                    Download 1.0.5 for the fix.

                                    RickW
                                    [www.smustard.com](http://www.smustard.com)

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

                                    Advertisement