Would be cool to be able to take a whole models folder and convert it over to vraymeshes instead of doing 'import, export, save as'...
Announcement
Collapse
No announcement yet.
Batch Converter for Vraymesh
Collapse
X
-
Batch Converter for Vraymesh
Tags: None
-
i once wrote a batch exporter from max to shockwave (using the plasma shockwave exporter)
the export is scriptable
in my case the export plugin was remembering its last settings, so all you had to take care of was setting everything up correctly before running the script
wasnt that much work, basicly the file selection dialogs and the necessary error catching were the worst part
-
thats actually pretty damn easy though i can't recall offhand what it is exactly. I know thats one of the things in the CGAcademy maxscript fundamentals dvd's... dont have max here but heres the gist.
if you're feeling frisky look into something like this:
--not real code.. max key words bolded.. search for em and replace with your syntax of choice
listOfFiles = GetFiles "C:/3dsmax7/random/path"
for eachfile in listOfFiles do
(
importmaxfile eachfile
select all (Or max select all, i forget..)
exportfile ("C:/3dsmax7/scenes/DemoFile/" + selection[1].name) #noprompt
delete all or reset scene
)Dave Buchhofer. // Vsaiwrk
Comment
Comment