[Closed] load renderpresetfiles via maxscript ?
We are looking for a way to load renderpresetfiles (*.rps) automatically via maxscript into renderdialog. Is that basicly possible? When yes how can we do that?
thx
marcel
Check out the topic “renderpresets Interface” in the online reference.
Martijn
Here is a piece of code that will load the “3dsmax.scanline.no.advanced.lighting.draft.rps” from Max’s renderpresets folder into the Production renderer:
[size=1][size=2][color=#ffffff]renderPresets.LoadAll 0 (GetDir #renderPresets + "/3dsmax.scanline.no.advanced.lighting.draft.rps")
[/color][/size]
[/size]
Just a small precaution, if you’re using max 6… and you have bipeds in your scene, be careful because there was a bug going around when loading render presets. You’re scene might get biped.cpp errors…
Just to be sure, before loading a preset, save a copy of your max file first. then load the preset, save, exit max and open the the saved file again… if it doesnt give you any errors, then it’s safe.
(I havent heard of news if this was fixed in 7 or 8 though, but it seems that it was already fixed)
just my two centavos
Thx a lot vasilescu_anton. Will have a try with this. Bipeds are not used in our project, but anyway good to know!
marcel