making simple project scene directory

i would like to make simple project scene directory

after i put set project folder , i can see many folder

archieve
materier....
almost 10 above

can i make simple folder project folder ?

ex) model
map
down
ies

folder only

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dussla's picture

wow wow

you are Genius really really.

really i never acces your area .
always thank you

barigazy's picture

...

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")

bga

barigazy's picture

...

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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.