Save/Restore SketchUp 7 Workspace for Windows
-
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.
Also available here: save_workspace.zip
-
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!
-
if there is a way for script writers to initially load their scripts as floating this whole problem could be resolved!!!!!!!
-
@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.
-
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
-
Oh thank you, your work saves nerves, it works great. A real release from the toolbar-pain sketchup causes regular .
Thank you!!!!!
-
@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 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
-
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.
-
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?
-
Thank you!
Your plugin is really working! -
Jim, I missed this plugin. It looks promising
Chris
-
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
-
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.
-
Hmm, the script saves the entire Sketchup 7 registry - toolbars, shortcuts, window sizes and positions.
It should have restored everything.
-
It does save everything and thats the problem I want to keep my shortcuts as they are and just reset the toolbars.
-
I tried in a Windows Vista and all i get is " Access denied " any idea the reason ? Firewall ?
Thanks
agrazdi
-
are you using an admin account? can you right click->run as administrator?
-
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 -
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
Advertisement