Pages

SketchUp Custom Toolbars

2010-09

* Updated for small bug in placement in SketchUp 8.


toolbars-2010-09.zip


This is an update to Custom Toolbars plugin with the missing icons replaced. I must thank Nathan Cheever for his hard work on these icons.

This Plugin allows you to build your own customized Toolbars. Creating a Toolbar is easy; Custom Toolbars creates a "Toolbars" folder in your SketchUp Plugins folder. Create a .txt file in this Toolbars folder and give it the same name as you want the name of the Toolbar. Then, edit the .txt file and simply list the name of the tool you would like to appear in the Toolbar.

See the examples .txt file in the Toolbars folder.

This plugins needs to be enabled from the Preferences > Extensions Dialog. Toolbars are available in the View > Toolbars menu.

Example Toolbars

There 3 example toolbars available when you install the plugin:








The following image shows the buttons available for use in your own toolbars.

40 comments:

  1. AnonymousJune 01, 2008

    thanks jim for this great plugin!

    ReplyDelete
  2. AnonymousJune 09, 2008

    Hi Jim
    I always appreciate your great plugin.
    Your blog is very caught on my country now ;)
    Thanks from JAPAN

    ReplyDelete
  3. AnonymousJuly 23, 2008

    Cant download....

    Just sends me in an endless loop =(

    ReplyDelete
  4. Ok, try now. Sorry everyone.

    ReplyDelete
  5. AnonymousJuly 23, 2008

    works now! Great thanks!

    ReplyDelete
  6. Thanks mate!
    simple and awsome plug-in!

    Question: there's any way to repeat the existing comands in SU to create a single working toolbar?

    Like the layers management for example..

    ReplyDelete
  7. I don't understand the question. The screen image shows the existing commands, and you can put any combination of those individual commands in any number of toolbars.

    ReplyDelete
  8. I HV JUST IMPRESSED WITH UR WORK

    ReplyDelete
  9. Hi.
    Great work...

    It's possible add plugin to custom toolbars???
    It will be fantastic....

    tanks
    alberto

    ReplyDelete
  10. alberto: The way I wrote the plugin makes it hard to easily add custom buttons to a custom toolbar. I have ideas on how to make it better, and just need to make time to do it. Thanks for the feedback.

    ReplyDelete
  11. Just a small point. The Dimension icon is missing from the html sample
    page. It exists, and I implemented it, but its not in the sample page
    which might lead to beleive it no longer exists.

    Dave
    eatc7402

    ReplyDelete
  12. This was my first day with Sketch and thanks to you i'm all set and ready to go!

    Thanks again for all the plugins :D!!!

    ReplyDelete
  13. Thanks Jim, this was a great idea, once I figured out how to customize it I made up my own toolbars to fit the way I work.

    And I particularly like the way the zoom functions on this toolbar rather than the standard Sketchup function.

    Best,
    PKast

    ReplyDelete
  14. Great plugin Jim, this is really helpful.

    I'm curious if you're planning on adding more commands. I would love to see "Unhide All" in a future version.

    Thanks again for the great work

    ReplyDelete
  15. AnonymousJuly 09, 2009

    Thanks for your kindly share, this is very helpfully to arrange our masses plug. ;-)

    ReplyDelete
  16. thanks jim, this is really useful

    ReplyDelete
  17. Great idea for optimizing my toolbars.

    I agree about "unhide all". (I would be a great feature)

    Do you need any help writing a command for it?

    My custom toolbar has "Zoom Next" but it is always grayed out.

    It looks like maybe it runs:

    @cmd = UI::Command.new("ZoomNext") { UI.messagebox("Zoom Next Not Implemented") }

    But I never got a message box either. (Since it is greyed out)

    ReplyDelete
  18. One user said: "And I particularly like the way the zoom functions on this toolbar rather than the standard SketchUp function."

    I didn't like the Zoom/Selection/Extents logic - because when I had something selected and was performing a move, I couldn't use zoom extents to zoom to the whole drawing.

    So I replaced it with two separate functions, Zoom/Selection/Extents and Zoom/Extents.

    This is fairly easy.

    Here are the steps:

    1. Put both zoomSelection and zoomExtents in your .TXT file

    2. copy zoomExtents.rb in the commands folder to zoomSelection.rb - so there are two now.

    3. load the .png files for zoomExtents - in the images folder - modify them slightly and save the as zoomSelection files - I added a yellow color.

    4. In zoomExtents.rb comment out the logic that lets it zoom to a selection, change some of the tooltips and text, change the icons names to your new icons - leave zoomSelection.rb alone.

    Voila - works pretty well!

    ReplyDelete
  19. AnonymousJune 28, 2010

    I'm an absolute beginner and was trying to set up my tool bar as per 'Google SketchUp- The Missing Manual.'
    When I dragged all the tools off the tool bar to start fresh, the tool bar disappeared. I can't figure out how to get it back.
    Any suggestions?

    ReplyDelete
  20. Is it possible to add ruby toolbar buttons?

    ReplyDelete
  21. Where is the updated plugin? The link you posted there seems to not work :(
    I would really need the plugin for SU8. Can you please check the link?

    ReplyDelete
  22. Bump - Link is dead and this looks like a fantastic utility. I'd love to download it!

    ReplyDelete
  23. As Al Hart notes, the "Zoom Next" button doesn't work. Looking at the *.rb file for it, it appears to be messed up: There should be some sort of "Sketchup.send_action" command instead of "Zoom Next Not Implemented". Does someone know how to fix this? I presume it is just some simple text editing.

    Thanks for this Plugin -- it sure is useful!

    ReplyDelete
  24. Sid MorrisonFebruary 25, 2011

    There's a small error in the Edge Styles.txt file. The final entry listed is "cycleEdgeColorMode". That is incorrect as the associated *.rb file is actually named just "EdgeColorMode.rb". Since the name is refernced wrong, that button winds up not being shown.

    So, if you edit the *.txt to change "cycleEdgeColorMode" into just "EdgeColorMode" that button will now appear.

    ReplyDelete
  25. Amazing plugin! thanks again. One problem I'm having though is the "hide rest of model/hide similar components" commands don't do anything, the icons just remain clicked and nothing happens...any thought?

    ReplyDelete
  26. One of the commands is mislabeled. The command 'fov' as described in the command list does not match the filename fieldOfView.rb

    The workaround is to either rename the file to fov.rb (what I did) or use the command fieldOfView instead.

    ReplyDelete
  27. I have the same problem with "hideRest" and "hideSimilar"

    as an alternativ to "hideRest" there is a pluggin bt Todd Burch named hideall.rb

    http://www.smustard.com/script/HideAll

    ReplyDelete
  28. thanks a lot, bro...

    salam from indonesian

    ReplyDelete
  29. Hey Jim, I just found your blog and it's been very useful. Thanks a lot!

    ReplyDelete
  30. Hi Jim,

    Any update on adding plugin/custom tool?

    ReplyDelete
  31. wow, totally and utterly confusing as to how one adds this. When you go to install the extension it's asking for an .rbz file. LOL.

    ReplyDelete
  32. It seems that the user needs to enable one original toolbar first (which can then be toggled off afterwards) because it just won't enable by itself.

    I wonder if it's just me...

    Either way, GREAT JOB for the plugin! Sheesh, the developers should've done that in the first place. Oh, well. :)

    ReplyDelete
  33. Okay, so actually it works on its own now. I wonder what the problem was...

    Anyway, I have a question:

    How do I create toolbars which are not in the sketchup? (i.e. none are in the Files > Sketchup > commands -or- images)

    FYI: I'm trying to create custom toolbars of the LegacyOpenStudio plugin.

    ReplyDelete
  34. The toolbars don't work with the new SketchUp 2013, they are present on the list of bars but don't open.

    ReplyDelete
  35. AnonymousJune 11, 2013

    The toolbars don't work with the new SketchUp 2013.

    ReplyDelete
  36. Does anyone know how to change "Edit/Make Component" to "Edit/Item/Make Component" ?

    The second one also allows you to make a component from just one already grouped selection ;-)

    I probably should change one of both off these, but to what?

    @cmd = UI::Command.new("MakeComponent") { Sketchup.send_action 21083 }

    @cmd.set_validation_proc { make_comp_vp }

    thanks

    ReplyDelete
  37. Hi All.

    Thanks for having this post up, I've been using sketchup for years and just moved from 7pro to 2015pro, but I cant find the Custom Toolbars plugin for 2015. Does anyone know how to get this plugin/extension to work in 2015pro? or an equivalent. Any help will be really appreciated, these tools are so useful, I really cannot understand why they are not a standard tool bar option.

    Thanks.
    Dunc.

    ReplyDelete