• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] ToolbarEditor (1.1.2) – updated 08.06.2014

Scheduled Pinned Locked Moved Plugins
122 Posts 40 Posters 57.9k Views
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.
  • G Offline
    glro
    last edited by 20 May 2014, 11:15

    @lewisee said:

    I can't enter code for custom (new) buttons using SketchUp Make 2014. Other wise this is a great extension. Thanks

    i can't enter snippets either

    su8, win7

    1 Reply Last reply Reply Quote 0
    • A Offline
      Aerilius
      last edited by 20 May 2014, 13:09

      What happens when you can't enter snippets? What do you do and what does not happen?

      1 Reply Last reply Reply Quote 0
      • G Offline
        glro
        last edited by 20 May 2014, 18:40

        @aerilius said:

        What happens when you can't enter snippets? What do you do and what does not happen?

        nothing happens...

        after i fill in the form (name, category, ...), and i choose a file for the icon, it is then impossible for me to type anything in the area below the icon file address

        1 Reply Last reply Reply Quote 0
        • A Offline
          Aerilius
          last edited by 21 May 2014, 09:28

          I cannot reproduce this. For me the webdialog accepts input in all input fields in SU 2014, SU 2013, SU8, WinXP, Win7.

          • What version of Internet Explorer do you have installed?
          • Does the text area for Ruby code never accept input or only after you selected an icon?
          • Can you see that it is a text area (or is it possible that it just has a zero size)?

          1 Reply Last reply Reply Quote 0
          • G Offline
            glro
            last edited by 21 May 2014, 11:09

            @aerilius said:

            I cannot reproduce this. For me the webdialog accepts input in all input fields in SU 2014, SU 2013, SU8, WinXP, Win7.

            • What version of Internet Explorer do you have installed?
            • Does the text area for Ruby code never accept input or only after you selected an icon?
            • Can you see that it is a text area (or is it possible that it just has a zero size)?

            internet explorer 11
            never accepts input
            cannot see that it is a text area (screen copy added)add a button window

            hope it helps

            1 Reply Last reply Reply Quote 0
            • J Offline
              Jim
              last edited by 7 Jun 2014, 08:14

              Same here - no input area for code.

              Win 8.1, SU-2014 Pro, IE 11 (never used outside of SketchUp.)


              2014-06_74.png

              Hi

              1 Reply Last reply Reply Quote 0
              • T Offline
                titou
                last edited by 8 Jun 2014, 08:45

                me too, same problem, cannot whrite anything in the text zone

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jim
                  last edited by 8 Jun 2014, 13:31

                  I know it has probably already been thought about, but it would be incredible to have a command repository where we can browse, install, and share commands...

                  Maybe a dvcs repo (github) could be used as the repo. What format would be good for command files - json or yaml maybe?

                  Hi

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    Aerilius
                    last edited by 8 Jun 2014, 16:19

                    I uploaded a workaround for IE 11's bug (ToolbarEditor 1.1.2).

                    Currently the plugin writes each snippet to a ruby file (in %APPDATA%) and stores the metadata with the plugin's preferences in the registry.
                    A json or yaml format would also not be a bad idea. I chose rb because it contains runnable code and I don't need to extract the code from a part of the file (or deal with escaping etc.). The metadata is also written in the comment of the ruby file, but I haven't decided yet to parse it out of the comment again, because there would be many sources of error (or the comment would have to strictly follow a specific syntax.

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      Jim
                      last edited by 14 Jun 2014, 08:31

                      Currently the plugin writes each snippet to a ruby file (in %APPDATA%) and stores the metadata with the plugin's preferences in the registry.

                      Is the numeric part of the filename unique for each user? If so, that makes it difficult to have a way to share commands.

                      Hi

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        glro
                        last edited by 19 Jun 2014, 09:05

                        another detail: the toolbar position is not stored when you close sketchup

                        so you have to move it everytime you open

                        not really important, but would it be possible to dck the created toolbars as the other native toolbars?

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          Aerilius
                          last edited by 19 Jun 2014, 19:22

                          Plugins can not influence the position of the toolbar (they can only tell SketchUp to show/hide a toolbar, and Sketchup remembers the position). Since these toolbars are created with a timeout (after all other plugins have been loaded), there was initially a problem wher the toolbar didn't remember its position. After report it was improved in SU2013 so that SketchUp should remember the position even after timeout. In which SketchUp version does it happen to you?
                          I have reduced the timeout, maybe that caused the problem?

                          1 Reply Last reply Reply Quote 0
                          • G Offline
                            glro
                            last edited by 20 Jun 2014, 22:00

                            @aerilius said:

                            Plugins can not influence the position of the toolbar (they can only tell SketchUp to show/hide a toolbar, and Sketchup remembers the position). Since these toolbars are created with a timeout (after all other plugins have been loaded), there was initially a problem wher the toolbar didn't remember its position. After report it was improved in SU2013 so that SketchUp should remember the position even after timeout. In which SketchUp version does it happen to you?
                            I have reduced the timeout, maybe that caused the problem?

                            i use sketchup 8

                            i shall try version 13 or 14, to check

                            thank you

                            1 Reply Last reply Reply Quote 0
                            • K Offline
                              keithwins
                              last edited by 23 Jun 2014, 14:33

                              This would be just what I'm looking for... if I could get it working.

                              When I open it up (v. 1.1.2 on SU 2014 on Win7), the list of available commands is very limited.

                              The vast majority of them is from the 1001bits extension I've got installed. Then there are perhaps 20 more. No View menu commands, for example, which is what I wanted.

                              Speaking for myself and as a relative noob, I think I'd prefer the commands listed in menu order: i.e. Tools/Sandbox/Smoove, but I perhaps I'm putting too much stock in the menus, with which I'm faintly familiar. I'd also love an option to list in different formats, i.e. a nice tight text list that would show about twice as much per page.

                              This looks awesome, and I can see it's working for other people. I've tried shutting down & restarting SU. I also just uninstalled and reinstalled TE, and an interesting thing happened: it still had about as many non-1001bits commands, but not the same ones! I only know this b/c I saw smoove on there before, and it's not there now. I tried disabling 1001bits, and interestingly enough there aren't any more non-1001bits tools there than before. 25 to be precise. Then I uninstalled TE, reinstalled, and same thing.

                              SU Pro 2014
                              Win 7

                              There are two kinds of people in the world: those who believe there are two kinds of people, and...

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                Aerilius
                                last edited by 23 Jun 2014, 20:50

                                SketchUp does not make its menus readable, they can not be accessed or included in custom plugin toolbars. This plugin can only make toolbars for plugin commands (sorry, it got missing from the description in the SCF plugins store, it's still mentioned in the SU extension warehouse).

                                SketchUp's native commands need to be replicated one by one. You can install LaunchUp, which comes with a lot of copies of SketchUp's native commands.

                                1 Reply Last reply Reply Quote 0
                                • K Offline
                                  keithwins
                                  last edited by 24 Jun 2014, 13:24

                                  Thanks Aurelius, I don't think I understand, but now I understand that I don't understand. I haven't really looked at creating commands, my level of sophistication extended only to picking something off a list 😛

                                  SU Pro 2014
                                  Win 7

                                  There are two kinds of people in the world: those who believe there are two kinds of people, and...

                                  1 Reply Last reply Reply Quote 0
                                  • BoxB Offline
                                    Box
                                    last edited by 24 Jun 2014, 13:27

                                    Do you know you can make custom toolbars natively in 2014?

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      theviru
                                      last edited by 1 Jul 2014, 21:49

                                      Hello,

                                      Im looking to make a button that will add a custom object that I have made. I am currently running SU8 and some one in my company (no longer here) made a button that did this. But I want to move to sketchup 2014 unfortunately I cant seem to figure out how to add this button. I see the box on your toolbar editor that allows you to add in ruby code but I'm not a programmer. I don't know if any one has made a button like this and would be willing to share there ruby code would help out allot.

                                      I dont know if this is important but I also have to be able to move/edit parts of this object once it has been placed.

                                      1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        Aerilius
                                        last edited by 2 Jul 2014, 07:29

                                        The old button must have been a plugin, so it has ruby code. Without that ruby code there won't be a button. Could you look up where that plugin was located (installed) in the old SketchUp version (SU8 had the plugins under Program Files/Google/Google SketchUp 8/Plugins) and then you could just install it in SketchUp 2014 (under <your_user>/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins).

                                        This plugin is rather for small code snippets (~1-10 lines). Of course one can make such a script that inserts a component, but that depends on what exactly it should do.

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          theviru
                                          last edited by 2 Jul 2014, 16:57

                                          Thanks there seems to be multiple .rb files that have names of the buttons. So if I run them I should get the button thanks for the help.

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

                                          Advertisement