ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
Till then you can try something like this
I don't know why max not allow to set default folder to any different name then "Scenes". So U can't use "models" or any other name except "Scenes".
Modify fn to suit your needs ... if you know how ;)
fn createCustomProjectFolder dir: subdirs: =
(if(makeDir dir)do(
local sioFile = dotnetclass "System.IO.File"
local dirstrings = #("[Directories]",("ProjectFolder="+dir))
local mxp = pathConfig.appendPath dir ((pathConfig.stripPathToLeaf dir)+".mxp")for n in subdirs do(
makeDir (pathConfig.appendPath dir n)
case n of
("maps": append dirstrings @"Images=.\maps""ies": append dirstrings @"Photometric=.\ies""proxy": join dirstrings #(@"Export=.\proxy",@"Import=.\proxy")"scenes": append dirstrings @"Scenes=.\scenes""render": append dirstrings @"RenderOutput=.\render")if finditem subdirs "xrefs"!= 0 do join dirstrings #(@"[XReferenceDirs]", @"Dir1=.\xrefs")if finditem subdirs "maps"!= 0 do join dirstrings #(@"[BitmapDirs]",@"Dir1=.\maps")
sioFile.WriteAllLines mxp dirstrings ; pathConfig.setCurrentProjectFolder dir
)))
createCustomProjectFolder dir:@"C:\temp\dussiaProject" subdirs:#("maps", "ies", "proxy", "scenes", "xrefs", "render")
Comments
wow wow
you are Genius really really.
really i never acces your area .
always thank you
...
Till then you can try something like this
I don't know why max not allow to set default folder to any different name then "Scenes". So U can't use "models" or any other name except "Scenes".
Modify fn to suit your needs ... if you know how ;)
bga
...
That will be also included in the script that I told you before. Probably I will finish this tool in a month if I have free time :).
bga