Alphabetical arrangement of toolbar names?
-
is there any way to arrange all the toolbar names in the view>toolbar menu in an alphabetical way?
-
Of course the default toolbars do display in alphabetical order. I expect the rest display in the order they load. You could rename the plugin files so they load in alphabetical order but be careful. Make sure you know what you're doing so you don't rename the wrong ones or make them not load at all. Keep in mind, the plugin's file name may not match the toolbar name shown in the menu. You might want to make a copy of the Plugins folder and try the renaming process there so you don't wreck everything. Proceed at your own risk.
-
As Dave says the load order of menus AND toolbars is determined by the name of the .rb file that is either is the whole script or loads another script from a subfolder [common for more complex tools].
Renaming the files means they load in a different order.
If you do rename files make sure you keep a note so if you install an update you won't get duplicated tools loading.
The 'alphanumeric' oder is 0-9A-Z with no noticeable differentiation between upper and lower case letters. Names starting with !#~ etc will load in that order, before '0'. Some files need to load early and already start with those characters, don't change those, and ensure they don't loose their early 'slots'...
So a renamed#Zorro2.rb
will load well beforeAardvark.rb
etc...
This tweaking of the 'load order' still might NOT produce alphanumerically perfect lists!
For example a [hypothetical] script named 'TIG-aardvark_and_zack.rb' would place the two tools that it creates [named 'Aardvark' and 'Zack'] in the menu/toolbar list where 'T' falls, because the .rb file's name starts with 'T' - you can't make the 'Aardvark' and 'Zack' tools 'separate' because they are both loaded, created and the menu/toolbar lists made at the same time as the one parent file is read by Sketchup; you can move the pair up and down the list by changing the initial letter of the parent .rb file - e.g. 'Aa_TIG-aardvark_and_zack.rb' or conversely 'Za_TIG-aardvark_and_zack.rb', BUT the two tools it makes will always appear next to each other in their listings !
Advertisement