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

    [Plugin] Custom Toolbars Plugin

    Scheduled Pinned Locked Moved Plugins
    121 Posts 43 Posters 61.9k Views 43 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.
    • J Offline
      Jim
      last edited by

      Ah, it opens the dialog when loose geometry is selected. I had selected a Group. Thanks.

      Hi

      1 Reply Last reply Reply Quote 0
      • Bob JamesB Offline
        Bob James
        last edited by

        Tried both 'standard' plugin location and additional location.
        jf2.PNGjf.PNG

        i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

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

          Hello Bob,

          1. You need to install TIG's Purge All plugin.
          2. I thought I trapped that error.

          Will look into it. Thanks for taking time to report.

          Hi

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

            Bob, I posted a new version this morning in the Plugin Store, but didn't have time to mention it. Did you find and try the update?

            You still need to install TIG's purge_all plugin for the custum button to work.

            Hi

            1 Reply Last reply Reply Quote 0
            • dereiD Offline
              derei
              last edited by

              The "viewRedo" message for Sketchup.send_action, seems unimplemented in API and not present in standard Camera toolbar, but is available in Camera drop-down menu. May be just an omision from Trimble, or it was intended to not be available? Any reasons for that?
              I remember a time when it was, and I had it on my Custom Toolbar.

              DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

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

                Yes it was removed in SU2013 or SU2014 (can't remember which.)

                SketchUp used to remember a whole bunch of camera views, and the "viewUndo:" button would go backwards in the stack. The "viewRedo:" button would go forward in the stack.

                Now only the current and previous views are saved. The "viewUndo:" ("View Previous") button just switches between them.

                I don't remember why they said the memory stack was removed. We didn't like the change at the time. Could be that in practice not many used the feature, ie only went one view back, etc. Or they were just simplifying the codebase.

                Hmmm.. thinking more,... I think the change had to do with avoiding ViewObserver crashes or complexities.

                I'm not here much anymore.

                1 Reply Last reply Reply Quote 0
                • dereiD Offline
                  derei
                  last edited by

                  I see, thanks for clearing it out. For me was a very good asset. It didn't remembered too many views. I think it was about 5. But it was helpful when experimenting with views, for rendering. Sometimes I just wanted to see if another view was better, but then, I decided to go back... Now I'll just have to stick to the current limitations.

                  DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

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

                    There might be some plugins... someone made a Camera Memory plugin I think.

                    I'm not here much anymore.

                    1 Reply Last reply Reply Quote 0
                    • jgbJ Offline
                      jgb
                      last edited by

                      I am almost converted to SU-15 from SU-8.
                      I just realized that many of my SU-8 toolbars (especially "toggle/hidden") are not native SU but within Toolbars.rb.

                      How can I import the toolbars.rb set to SU-15?

                      I can't find the current file here.


                      jgb

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        glro
                        last edited by

                        @jgb said:

                        I am almost converted to SU-15 from SU-8.
                        I just realized that many of my SU-8 toolbars (especially "toggle/hidden") are not native SU but within Toolbars.rb.

                        How can I import the toolbars.rb set to SU-15?

                        I can't find the current file here.

                        http://sketchuptips.blogspot.com.es/2008/06/custom-toolbars-release-08-06-01.html[/anchor]

                        i don't remember well, but i use it in SU15, and it seems to me no changes were needed from SU8

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          driven
                          last edited by

                          A few posts above and over a year ago...

                          @jim said:

                          Bob, I posted a new version this morning in the Plugin Store, but didn't have time to mention it. Did you find and try the update?

                          You should get that version, and add updated additional plugins to it...

                          john

                          learn from the mistakes of others, you may not live long enough to make them all yourself...

                          1 Reply Last reply Reply Quote 0
                          • jgbJ Offline
                            jgb
                            last edited by

                            Thanks for the replies.

                            Yesterday I just copied the toolbars .rb and Dir from SU-8 to SU-15. Worked no problem. 👍

                            I just reinstalled via Extension Mgr the (perhaps) updated version and noticed my toolbars were exactly the same. Yes, I changed the file type from ZIP to RBZ. 😒

                            In the web page (noted above) one of the standard toolbars (Scenes) has an extra icon that my installed version does not. Did I do something wrong? 😕

                            Oh, and what are these other plugins to be added to it are you referring too?


                            jgb

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              driven
                              last edited by

                              @jgb said:

                              In the web page (noted above) one of the standard toolbars (Scenes) has an extra icon that my installed version does not. Did I do something wrong? :?

                              your probably missing the 'Bottom' view?
                              Possibly the code has change for it and you haven't actually updated or Jim left it out of the update...

                              @unknownuser said:

                              Oh, and what are these other plugins to be added to it are you referring too?

                              The whole point of custom toolbars is it lets you add other plugins to the toolbar, if you have no extra's then doing nothing is fine...

                              john

                              learn from the mistakes of others, you may not live long enough to make them all yourself...

                              1 Reply Last reply Reply Quote 0
                              • jgbJ Offline
                                jgb
                                last edited by

                                When I get a chance I will compare the scripts of my SU-8 Toolbars to SU-15 and get back here with the findings.


                                jgb

                                1 Reply Last reply Reply Quote 0
                                • jgbJ Offline
                                  jgb
                                  last edited by

                                  I just compared the Toolbar files for SU-8 and SU-15.

                                  They are identical.

                                  The Toolbar.rb is...

                                  *require "sketchup"
                                  require "extensions"

                                  path = File.join(File.dirname(FILE), "toolbars", "files", "loader.rb")
                                  ext = SketchupExtension.new("Custom Toolbars", path)
                                  ext.description = "Loads your custom Toolbars."
                                  ext.creator = "Jim Foltz jim.foltz@gmail.com"
                                  ext.copyright = "2008 Jim Foltz"
                                  ext.version = "2008-04-04"
                                  Sketchup.register_extension ext*

                                  Is there anything more recent?


                                  jgb

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    driven
                                    last edited by

                                    ***** v1.5.2 - Mar 24, 2014

                                    Catch LoadErrors - New menu to "Show Errors"
                                    v1.5.0 - Mar 22, 2014

                                    Added commands PurgeAll, CloseActive, and CloseAllActive. Note: PurgeAll requires TIG's PurgeAll plugin to be installed.
                                    Added images for SU 2104
                                    List all Commands in Plugins > Custom Toolbars menu
                                    Internal reorganization
                                    Test on Windows, SU versions 8, 2013 & 2014
                                    v1.4.0 - Mar 16, 2014

                                    First release to PluginsStore***

                                    Yes, the one in the Plugin Store...

                                    john

                                    learn from the mistakes of others, you may not live long enough to make them all yourself...

                                    1 Reply Last reply Reply Quote 0
                                    • jgbJ Offline
                                      jgb
                                      last edited by

                                      My error was installing "toolbars" and not the newer renamed "jc-toolbars".

                                      I deleted the old toolbars and all is now well.

                                      Thank again. 👍 👍


                                      jgb

                                      1 Reply Last reply Reply Quote 0
                                      • jgbJ Offline
                                        jgb
                                        last edited by

                                        Other than the day I installed the toolbars, I haven't used SU-15 till yesterday.

                                        When it powered up I noticed 2 toolbars were missing of the 3 I use (the Scenes and the one with hide/unhide icon). I checked, and it was active in extensions, but the TB's themselve were not in the List Toolbars.

                                        I reinstalled but no change. Searching I found the JF-Toolbars menu with the "Show Errors"

                                        This is the output.....

                                        *cannot load such file -- purgeall.rb

                                        C:/Users/jgb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/jf_custom_toolbars/files/loader.rb:119:in module_eval' C:/SketchUp 15/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in require'
                                        (eval):2:in block (2 levels) in <module:CustomToolbars>' C:/Users/jgb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/jf_custom_toolbars/files/loader.rb:119:in module_eval'
                                        C:/Users/jgb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/jf_custom_toolbars/files/loader.rb:119:in block (2 levels) in <module:CustomToolbars>' C:/Users/jgb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/jf_custom_toolbars/files/loader.rb:104:in foreach'
                                        C:/Users/jgb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/jf_custom_toolbars/files/loader.rb:104:in block in <module:CustomToolbars>' C:/Users/jgb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/jf_custom_toolbars/files/loader.rb:100:in each'
                                        C:/Users/jgb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/jf_custom_toolbars/files/loader.rb💯in <module:CustomToolbars>' C:/Users/jgb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/jf_custom_toolbars/files/loader.rb:51:in module:JF'
                                        C:/Users/jgb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/jf_custom_toolbars/files/loader.rb:49:in <top (required)>' C:/SketchUp 15/Tools/extensions.rb:197:in require'
                                        C:/SketchUp 15/Tools/extensions.rb:197:in load' C:/Users/jgb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/jf_custom_toolbars.rb:33:in register_extension'
                                        C:/Users/jgb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/jf_custom_toolbars.rb:33:in <module:CustomToolbars>' C:/Users/jgb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/jf_custom_toolbars.rb:23:in module:JF'
                                        C:/Users/jgb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/jf_custom_toolbars.rb:22:in `<top (required)>'*

                                        I noted above that I need to load "Purgeall.rb" but it was not there when I first installed and it worked OK.

                                        Why would I need it when the problem occurs before any model is loaded? Only my template is up.


                                        Edited

                                        Just installed Purgeall but no change to toolbars. 😕 Error message is gone. 👍


                                        jgb

                                        1 Reply Last reply Reply Quote 0
                                        • deaneauD Offline
                                          deaneau
                                          last edited by

                                          hello,
                                          how look a ruby-snipped to have a plugin with an icon?

                                          some developer have only plugins that's work in menue. ok i could add short-cuts for this, however sometimes i would have a toolbar with all my most used plugins together.

                                          MADE, BORN AND LIVING IN BERLIN
                                          Big Thank You to all Programmers
                                          Some German words are so long that they have a perspective. M.Twain

                                          1 Reply Last reply Reply Quote 0
                                          • jgbJ Offline
                                            jgb
                                            last edited by

                                            Kinda wondering why no response to my last post. ❓ ❓

                                            I just deleted the toolbars dir and .rb and reinstalled.
                                            No errors.
                                            No toolbars.

                                            I looked at the Toolbars dir and the TB's I wanted were not there.

                                            I looked at my SU-8 TB dir and there they were.
                                            Copied both missing TB txt files over and now I have my TB's.... finally. ☀


                                            jgb

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

                                            Advertisement