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

    Problem with SU

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    48 Posts 13 Posters 6.5k Views 13 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.
    • leedeeteeL Offline
      leedeetee
      last edited by

      @thomthom said:

      When you browse to your plugin folder - do you see a "Compatibility Files" button?

      Sorry, do you mean via Windows Explorer? (C:\Program Files (x86)\Google\Google SketchUp 8\Plugins) If so, no.

      1 Reply Last reply Reply Quote 0
      • 66searcher6 Offline
        66searcher
        last edited by

        it works ! after execute the command my toolbars blast!
        now my sketchup starts faster more than before and then i rearrange the toolbars.
        thank you.

        http://hamidtoliat.deviantart.com/

        1 Reply Last reply Reply Quote 0
        • V Offline
          valerostudio
          last edited by

          THIS FIXES THE ISSUE! ThomThom saves the day once again. Hopefully Trimble fixes this as a bug.

          1 Reply Last reply Reply Quote 0
          • cottyC Offline
            cotty
            last edited by

            @thomthom said:

            Use at Own Risk!!!
            This is a couple of batch commands I use to clear the toolbar registry. It has worked for me - but I put a word of caution anyway; use at own risk.

            Activate the one corresponding to your SketchUp version.

            I had to change the content of the batch-file to (Windows 7-64):

            "c;\Windows\System32\reg.exe" query "HKEY_CURRENT_USER\Software\Google\SketchUp8" /f "ToolbarsUser" >> reg_keys.txt
            
            for /f %%k in (reg_keys.txt) do (
                "c;\Windows\System32\reg.exe" delete %%k /f
            )
            

            (I found 4539 entries, who has more 😎 ? )

            my SketchUp gallery

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

              @cotty said:

              I had to change the content of the batch-file to (Windows 7-64):
              [code]"c:\Windows\System32\reg.exe" query "HKEY_CURRENT_USER\Software\Google\SketchUp8" /f "ToolbarsUser" >> reg_keys.txt

              It was made on Windows 7 64bit...
              It's using relative path - I see you used a full path. Seems like there's something odd about your PATH environment variables...

              @cotty said:

              (I found 4539 entries, who has more 😎 ? )

              I've had double that... After a session of longer debugging a toolbar problem. πŸ˜’

              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

                Mine last cleared out at over ~1800 toolbar entries - and it had been crawling !
                After a lot of debugging of scripts/toolbars/extensions etc it does grow alarmingly...

                You must have been waiting forever for it to startup !

                I have a cmd that removes all toolbar guff and extensions too.
                It reduces startup time by a factor of 4 or 5 after it's run and I reinstall the extensions/toolbars I need !!

                TIG

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

                  Extensions bogg down as well?

                  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 think if you keep adding/subtracting/activating/deactivating extensions during tests legacy entries can build up.
                    Seems to slow me down when developing tools using them - if it crashes on a faulty load I think a new one gets added... The extension's name is determined by the loader .rb and if you change the text in that, then the older one can be left behind ?
                    Also if you physically move an extension or rename it .rb! then its extension data is left in the registry clogging things up...
                    Just seems easier to clean them out now an again, like the toolbars.

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • cottyC Offline
                      cotty
                      last edited by

                      @thomthom said:

                      It was made on Windows 7 64bit...
                      It's using relative path - I see you used a full path. Seems like there's something odd about your PATH environment variables...

                      The neccessary change was the "/f" instead of the "| find" which causes an error for me.

                      @thomthom said:

                      I've had double that... After a session of longer debugging a toolbar problem. πŸ˜’

                      I made it without a single line of debugging πŸ˜‰

                      my SketchUp gallery

                      1 Reply Last reply Reply Quote 0
                      • Dan RathbunD Offline
                        Dan Rathbun
                        last edited by

                        I updated the command file a bit:

                        (1) saves current WD and switches to the User Home dir.
                        (2) first deletes an old file if it exists (because the REG QUERY appends to the file.)
                        (3) Echos the number of lines containing keys to be deleted.
                        (4) Accepts a "view" argument that will open the generated key file in the system's default text application, at the end of processing.
                        (5) Switches back to the previous directory.

                        @echo off
                        
                        set olddir= %CD%
                        cd %USERPROFILE%
                        
                        if exist su_reg_keys.txt del su_reg_keys.txt
                        
                        reg query "HKCU\Software\Google\SketchUp8" | find "ToolbarsUser" >> su_reg_keys.txt
                        
                        echo .
                        echo SketchUp Toolbar Registry entries to be deleted;
                        find /C /I "HKEY" su_reg_keys.txt
                        echo .
                        
                        for /f %%k in (su_reg_keys.txt) do (
                            reg delete %%k /f
                        )
                        
                        REM   Open file in default text application
                        REM   if "view" param is passed;
                        if %1.==view. su_reg_keys.txt
                        if %1.==VIEW. su_reg_keys.txt
                        
                        cd %olddir%
                        set olddir=
                        
                        
                        

                        I'm not here much anymore.

                        1 Reply Last reply Reply Quote 0
                        • G Offline
                          gerrrg
                          last edited by

                          Haven't yet posted anything until now...thanks very much thomthom, for this excellent solution! Worked perfectly for me, on a problem that has been plaguing me for just over a month.

                          1 Reply Last reply Reply Quote 0
                          • G Offline
                            g_wilson
                            last edited by

                            Thanks Thom - batch file worked like a dream - startup time greatly reduced.

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

                            Advertisement