Jim's Toolbar example "Option" Not working in 2013
-
This works in v8, BUT NOT in v13:
All of these scripts are in the '.../Plugins' folder...
a.rb makes an empty toolbar, referenced 'globally' as '$my_little_toolbar'.
b.rb which loads next [i.e. alphanumeric order] and adds its button to $my_little_toolbar.
c.rb which loads next [i.e. alphanumeric order] and adds its button to $my_little_toolbar.
...Result: v8 - Toolbar with two+ buttons.
In v13 either NO Toolbar at all OR a toolbar that is 'listed' and can be checked/unchecked but cannot be seen on screen, OR a toolbar that has no buttons at all. It's as if the later scripts load while the first is still being resolved, the only thing controlling their load order is their names and SketchUp's auto-loading code... however, the working example shown below deliberately creates 'the parts' in distinct steps, each one loaded in order by a former one...This works in v8 AND v13:
The first script is in the '.../Plugins' folder and the rest within its subfolder '.../Plugins/a'
a.rb makes an empty toolbar, referenced as 'My_little_toolbar' across a module.
it also loads the scripts from its subfolder 'a'...
a/b.rb which is in the same module and adds its button to My_little_toolbar.
a/c.rb which is in the same module and adds its button to My_little_toolbar.
...Result: v8 and v13 Toolbar with two+ buttons.
-
That's very odd. :s
Have you filed a bug report for that?
-
I left it with Chris Fullmer...
It was reported on EEby... very early on in the beta, and then again more recently when issues with other toolbars came up...
'They are looking at it'... -
So is there anyway I can build a toolbar that has commands like this in it? They are native commands but I don't see a way to get them on to a custom toolbar.
toggleHidden
hideSelected
unhideSelectedtoggleAxes
toggleGuides
toggleColorByLayer
toggleShadows
toggleFoghideRest
hideSimilarcenterSelection
zoomExtents
togglePerspectiveungroup
-
anyone had any luck getting this to work?
-
@dan rathbun said:
Basically it's is a very OLD plugin.
Aerilius' toolbar editor should work better than Jim's old editor.
I tired it today and as far as I can tell it's not capable of using commands like this one is. All I could get was current plugins that already have toolbars with them.
-
It worked for me. I have set a bunch of scripts into the Toolbar but I have also toggle hidden and hide rest. Some of the Icons are not show up - just a smily button - but the function is Ok. Your scripts are all the native scripts from Jim?
-
yes all native...
-
I will try this out and report
-
Works, except two Icons.
Maybe dumb, but have you checked the preference>extension>custom toolbars
(I meant the last two, just saw one of my own is also in there. - name conflict )
-
Because of the Aerilius Plugins. It is a very usefull tool. But I use a lot of single scripts, one liners and and extra functions ( like open second Sketchup instance or paste in place ) as buttons, to create some workflow improvements or special workflows, where I have a set of tools which help me in this case.
If there is an automatic commandbuilder for single scripts and a bunch of icon samplers ( like Cadfathers) Aerilius or Ricks Toolbar Builder are unbeatable -
yeah I have it set.
-
Ok... thanks to Burkard we have a fix. replace your loader.rb file located here \SketchUp\SketchUp 2013\Plugins\Toolbars\Files with this one.
-
@krisidious said:
Ok... thanks to Burkard we have a fix. replace your loader.rb file located here \SketchUp\SketchUp 2013\Plugins\Toolbars\Files with this one.
[attachment=0:2nhe1o07]<!-- ia0 -->loader.rb<!-- ia0 -->[/attachment:2nhe1o07]
Thanks both , it worked ¡
-
Good to hear Juan... I use this toolbar constantly. Had to have it.
-
Many, many thanks
Advertisement