Backuping Sketchup workspace
-
Well, I read in a post of Dan Rathbun, in another forum a step by step guide, that is really useful for who need to install sketchup and some plugins in several machines or has tons of plugins to manage in workspace.
So I modified the info about the path of the backup, that showed in my tests to be restricted to the RubyWorkspace's folder and not the entire registry of Sketchup. And I also added two .bat files to automate the process (the compiled files are attached).
PS: It's valid for 2015 version, but I belive that it isn't difficult to modify the script.
@unknownuser said:
(1) Log onto the "fresh standard profile"
(2) Install all the allowed plugins.
(3) Open all the toolbars that you wish displayed when SketchUp starts, and dock them where they need to be.
(4) Open any inspector tool windows (Layers, Materials, Scenes, etc.) and place and stack them where you wish.
(5) Close SketchUp so all the toolbar and window locations are saved into the registry.If you cannot log into the "fresh standard profile", ie, if it is generated "on-the-fly".
Then you may be able to do like anme suggests, ...(1) Create a new user profile, and log into it.
(2) Install all the allowed plugins.
(3) Open all the toolbars that you wish displayed when SketchUp starts, and dock them where they need to be.
(4) Open any inspector tool windows (Layers, Materials, Scenes, etc.) and place and stack them where you wish.
(5) Close SketchUp so all the toolbar and window locations are saved into the registry.Then open a command prompt, and use the REG command to save the "SketchUp 2015" hive to a reg file:
REG EXPORT "HKCU\Software\SketchUp\SketchUp 2015\RubyWorkspace" "relative/path/from/current/dir/su2015.reg"
(It is easier to change to the destination directory first.)
You now have a reg file, you can import into any profile with:
REG IMPORT "relative/path/from/current/dir/su2015.reg"
Or, you could edit the file and change all
"[HKEY_CURRENT_USER" to "[HKEY_USERS.DEFAULT"
which would import the settings into a machine's default user, and any new user created (on that machine,) will inherit those settings.Credits: Dan Rabuth
http://bit.ly/29UJUD0.BAT Automatic Backup Workspace Exporter
@echo off REM actual path is a relative path to the location of your bat "%~dp0\su2015_rubyworkspace.reg" REM reg script's author; Dan Rathbun REM bat compilation; Guilherme Bera REG EXPORT "HKCU\Software\SketchUp\SketchUp 2015\RubyWorkspace" "%~dp0\su2015_rubyworkspace.reg"
.BAT Automatic Backup Workspace Importer
@echo off REM actual path is a relative path to the location of your bat "%~dp0\su2015_rubyworkspace.reg" REM reg script's author; Dan Rathbun REM bat compilation; Guilherme Bera REG IMPORT "%~dp0\su2015_rubyworkspace.reg"
Advertisement