So, I work on one workstation at the office, plus a home desktop and a home laptop. I'm trying to figure out a setup to make working on projects on multiple systems more efficient.
Currently, I've got Relative Paths turns on, and some common textures live in a Content folder inside of my project folder on each machine; those files are used regularly, and stored in the same location (relative to my project folder) on all machines. That helps a lot. Lately I've been transfering projects between machines using Dropbox (love it.), but I find it's not very convenient to work from that system.
I recently upgraded to Max2010, and it looks like changing project folders is very easy to get to now. I was thinking abuot coming up with a system using that as the switcher (lately I'm using the Asset Tracker, but "Retarget Common Root" seems to bug a lot), but when you set a new project folder it creates a ton of extra folders, including moving my Autoback, etc. Is this the best way to go about doing this, anyways? I suppose if I always set the same location to be my Project Folder on each machine, it won't create anything new, since there's already all those folders living there, right?
What does anybody recommend?
Replies
The best thing to do is to use maxScript to set the project folder and sub folders. When you set the project folder through the interface it creates all the extra folders you don't need. But MaxScript won't do that. I'll post an example script here soon.
It's not hard to figure out the maxScript for changing project folders.
It may not be hard for YOU to figure out the MaxScript, but I don't have the maxscript tools to create a sphere, let alone path setups, lol. Eager for your example!
I actually use relative autoback folders so that each project has it's own autoback files.
I also had the need to use separate macroscripts for each project. I commented that stuff out at the bottom.
You're right though, looks very easy aside from that. Then you'd just have a different path for what it determines the Project Folder to be on each machine? So you pick up a project, hit the "Reset Project Folder", and it changes all the paths to work for that machine versus the old one? Like, on Machine 1 the path is C:/myproject, and on Machine 2 it's F:/Billy's Folder/2011/myproject, and customize the macro on each machine to point to the correct folder?
That's what it's doing. I like to put the autoback files into a sub-directory and not just the root of the project. Actually the autoback line should be this, in order to make it project relative:
pathConfig.SetDir #autoback "./autoback"
But it'll work either way.
I'm not sure what you mean by "pick up a project, and hit the Reset Project Folder"... If by that you mean customize the script for each computer and run it, then yes, that's all you need to do.
I imagine you can save a few .ms files in Dropbox, and just run the appropriate setup tool:
Machine1_Project1.ms
Machine1_Project2.ms
Machine2_Project1.ms
Machine2_Project2.ms
Looks sweet, I'll test it out when I'm at the office. Thanks!