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

    Jim's Toolbar example "Option" Not working in 2013

    Scheduled Pinned Locked Moved Plugins
    26 Posts 7 Posters 837 Views 7 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      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.

      TIG

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        That's very odd. :s

        Have you filed a bug report for that?

        Thomas Thomassen — SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

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

          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'...

          TIG

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

            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
            unhideSelected

            toggleAxes
            toggleGuides
            toggleColorByLayer
            toggleShadows
            toggleFog

            hideRest
            hideSimilar

            centerSelection
            zoomExtents
            togglePerspective

            ungroup

            By: Kristoff Rand
            Home DesignerUnique House Plans

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

              anyone had any luck getting this to work?

              By: Kristoff Rand
              Home DesignerUnique House Plans

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

                @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.

                By: Kristoff Rand
                Home DesignerUnique House Plans

                1 Reply Last reply Reply Quote 0
                • BurkhardB Offline
                  Burkhard
                  last edited by

                  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?

                  [http://www.ia-plus.de(http://www.ia-plus.de)]

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

                    yes all native...

                    By: Kristoff Rand
                    Home DesignerUnique House Plans

                    1 Reply Last reply Reply Quote 0
                    • BurkhardB Offline
                      Burkhard
                      last edited by

                      I will try this out and report

                      [http://www.ia-plus.de(http://www.ia-plus.de)]

                      1 Reply Last reply Reply Quote 0
                      • BurkhardB Offline
                        Burkhard
                        last edited by

                        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 😄 )


                        view.png

                        [http://www.ia-plus.de(http://www.ia-plus.de)]

                        1 Reply Last reply Reply Quote 0
                        • BurkhardB Offline
                          Burkhard
                          last edited by

                          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 😉

                          [http://www.ia-plus.de(http://www.ia-plus.de)]

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

                            yeah I have it set.

                            Capturetoolbars.JPG

                            By: Kristoff Rand
                            Home DesignerUnique House Plans

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

                              Ok... thanks to Burkard we have a fix. replace your loader.rb file located here \SketchUp\SketchUp 2013\Plugins\Toolbars\Files with this one.

                              loader.rb

                              By: Kristoff Rand
                              Home DesignerUnique House Plans

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                JuanV.Soler
                                last edited by

                                @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 ¡ 👍

                                ,))),

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

                                  Good to hear Juan... I use this toolbar constantly. Had to have it.

                                  By: Kristoff Rand
                                  Home DesignerUnique House Plans

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

                                    Many, many thanks 👍

                                    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
                                    • 1
                                    • 2
                                    • 1 / 2
                                    • First post
                                      Last post
                                    Buy SketchPlus
                                    Buy SUbD
                                    Buy WrapR
                                    Buy eBook
                                    Buy Modelur
                                    Buy Vertex Tools
                                    Buy SketchCuisine
                                    Buy FormFonts

                                    Advertisement