Max 2009 - Rebuild FG map / Photon map

Hello all,

I’m trying to rebuild FG map and Photon map from a maxscript but without any luck. FinalGatherRebuild returns “Unknown property”. Any idea how can I regenerate my maps from a script?

Thank you very much!

mentalRR = mental_ray_renderer ()
mentalRR.FinalGatherRebuild = true

>> MAXScript FileIn Exception: -- Unknown property: "FinalGatherRebuild" in mental_ray_renderer:mental_ray_renderer <<