sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Save/Restore SketchUp 7 Workspace for Windows

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    31 Posts 17 Posters 13.5k Views 17 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.
    • J Offline
      Jim
      last edited by

      Sep 6, 2009

      Attached is a save_workspace.bat file renamed as a .txt file. It simply creates a backup file of your SketchUp7 registry settings.

      Once your toolbars are to your liking, close sketchup and run the 'save_workspace' script. All of your SketchUp settings - toolbars, toolbar locations, shortcut keys, etc. are saved in a single file named "workspace1.reg" - but you get the option to enter your own name.

      It should be possible to create multiple "workspace" files which would allow you to switch between settings. I'm not sure how well this will work; so if you are up to testing that please do.

      When you need to restore the saved settings, close Sketchup and open the workspace1.reg file to restore your registry. Right-click the workspace.reg file and select "Merge"

      Use at your own risk - modifying your registry can cause your system to become unstable (although I have not had any problems.)

      This is not a perfect solution. You still need to remember to save periodically as your settings change. And there is nothing I can do when a new plugin's toolbar is installed - restoring in this case won't help because when you re-open sketchup the toolbar will auto-show again.

      A previous version used a load_workspace.bat file - it is no longer needed and can be deleted.

      Let me know if it works for you or not. Thanks.

      save_workspace.txt

      Also available here: save_workspace.zip

      Hi

      1 Reply Last reply Reply Quote 0
      • Rich O BrienR Offline
        Rich O Brien Moderator
        last edited by

        Wow Jim, great script.

        I'll get back to you on how it goes

        ps if I don't get back it because it broke my PC!

        Download the free D'oh Book for SketchUp πŸ“–

        1 Reply Last reply Reply Quote 0
        • X Offline
          xrok1
          last edited by

          if there is a way for script writers to initially load their scripts as floating this whole problem could be resolved!!!!!!!

          β€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

          http://www.Twilightrender.com try it!

          1 Reply Last reply Reply Quote 0
          • J Offline
            Jim
            last edited by

            @xrok1 said:

            if there is a way for script writers to initially load their scripts as floating this whole problem could be resolved!!!!!!!

            That's a very good thought, but there isn't a conventional way to do it.

            Hi

            1 Reply Last reply Reply Quote 0
            • A Offline
              agrazdi
              last edited by

              Worked fine with me.

              1 - Is it possible to add the default template data to the file ?
              2 - Is it possible to save several " workspace " data ?
              3 - Can you do another one for Layout ?
              4 - Is it possible by this method save folders options to decide which plugins load ?

              Thanks

              agrazdi

              1 Reply Last reply Reply Quote 0
              • M Offline
                marne
                last edited by

                Oh thank you, your work saves nerves, it works great. A real release from the toolbar-pain sketchup causes regular πŸ‘Š .

                Thank you!!!!!

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jim
                  last edited by

                  @agrazdi said:

                  Worked fine with me.

                  1 - Is it possible to add the default template data to the file ?
                  2 - Is it possible to save several " workspace " data ?
                  3 - Can you do another one for Layout ?
                  4 - Is it possible by this method save folders options to decide which plugins load ?

                  Thanks

                  agrazdi

                  What do you mean by default template data?

                  These are very good questions, but I don't know the answers right now. For these kinds of features, a computer language other than .bat would be better; something with a Windows Interface. I don't know what computer language to use - Visual Basic? I would need to learn the language, whatever it is.

                  Hi

                  1 Reply Last reply Reply Quote 0
                  • Rich O BrienR Offline
                    Rich O Brien Moderator
                    last edited by

                    Hi Jim,

                    Been using your latest script and it's working fine. I think its a major step towards keeping the toolbars organized. I think agrazdi idea's are great too. The possibilities of SU to mimic Photoshops workspace options would be a amazing.

                    But this alone is a brilliant option.

                    Congrats and thanks for all the hard work.

                    Rich

                    Download the free D'oh Book for SketchUp πŸ“–

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      Jim
                      last edited by

                      I am making this harder than it needs to be. I will have a version that is much simpler. For some reason I am trying to export each group of settings separately - I can just backup the entire SketchUp7 registry in a single file. Then, you can have different workspaces by using different file names. This also eliminates the need for a loader script - just click on the .reg file to restore.

                      I am finding the Toolbars do not get restored if I completely clean-out the SU7 registry entries. Not sure why; but I can't think of a time when that would happen in reality. I'm not even sure if un-installing removes the registry entries.

                      Hi

                      1 Reply Last reply Reply Quote 0
                      • X Offline
                        xrok1
                        last edited by

                        how about if the script writters don't load a toolbar at all but simply present a msgbox if their script isn't loaded asking if you want to load it, that way all the other toolbars are already loaded into their previous positions before loading a new one?

                        another thought; could someone not write a ruby that writes a log of all installed scripts when SU closes, then when SU opens check for any new scripts and prompt you to load them or not?

                        β€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                        http://www.Twilightrender.com try it!

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          bonjoeryan
                          last edited by

                          Thank you!
                          Your plugin is really working!

                          1 Reply Last reply Reply Quote 0
                          • Chris FullmerC Offline
                            Chris Fullmer
                            last edited by

                            Jim, I missed this plugin. It looks promising πŸ˜„

                            Chris

                            Lately you've been tan, suspicious for the winter.
                            All my Plugins I've written

                            1 Reply Last reply Reply Quote 0
                            • H Offline
                              haynesc
                              last edited by

                              this is a great new feature !

                              i had lost a couple of my dialog boxs somehow maybe due to me using two screens ...

                              upgrading to 7.1 and using this new feature fixed the problem

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                remus
                                last edited by

                                hey jim, just got around to using this in anger.

                                Couple of suggestions: would it be possible to just save the toolbar positions, or perhaps have an option to save other things? Personally i find resetting keyboard shortcuts a little annoying.

                                http://remusrendering.wordpress.com/

                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  Jim
                                  last edited by

                                  Hmm, the script saves the entire Sketchup 7 registry - toolbars, shortcuts, window sizes and positions.

                                  It should have restored everything.

                                  Hi

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    remus
                                    last edited by

                                    It does save everything and thats the problem πŸ˜„ I want to keep my shortcuts as they are and just reset the toolbars.

                                    http://remusrendering.wordpress.com/

                                    1 Reply Last reply Reply Quote 0
                                    • A Offline
                                      agrazdi
                                      last edited by

                                      I tried in a Windows Vista and all i get is " Access denied " any idea the reason ? Firewall ?

                                      Thanks

                                      agrazdi

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        remus
                                        last edited by

                                        are you using an admin account? can you right click->run as administrator?

                                        http://remusrendering.wordpress.com/

                                        1 Reply Last reply Reply Quote 0
                                        • I Offline
                                          inbal
                                          last edited by

                                          Thank you soooo much!
                                          I keep having my plugins and toolbars scrambelled and I spent so much time on arrenging them.
                                          Thank you for saving me time πŸ˜„

                                          1 Reply Last reply Reply Quote 0
                                          • sketch3d.deS Offline
                                            sketch3d.de
                                            last edited by

                                            I've made a Windows executable for saving/restoring the SU prefs (no malware, no spyware, no adware, no installation).

                                            tested w/ XP, should work w/ Vista/7 too; even though, use at own risk.

                                            just holler if anything doesn't work or a something is missing.

                                            Norbert

                                            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