Hey All,
What code (below) needs to be added to get my exported model to use the same folder that the 3Ds Max 9 model folder; in stead of the default Max export folder?
From this: My Documents\3dsmax\export
To Say this: \My Documents\3D Car Game\Models\Cars\Cool Car 01\Cool_Car_01.max
Thanks :-)
(
fn ExportSelectionToASE suffix =
(
try(
local sel = (selection as array)
if sel.count < 1 then return false
)catch(return false)
clearselection()
for i = 1 to sel.count do (
select sel[i]
local n = sel[i].name + suffix + ".ase"
format "n = %\n" n
exportFile n #noprompt selectedOnly:true
)
true
)
ExportSelectionToASE ""
)