Maxwell Render | Batch Scene Export?

Maxwell Render | Batch Scene Export?

Postby cmast316 » Thu Apr 30, 2020 8:18 pm

Using Maxwell 4 and trying to figure out if I can batch export scenes. I have around 30 scenes in one file and it takes around 55 minutes to do this manually. Mostly sitting watching it export each time. Can't find this in their documentation anywhere.

I'm going to switch to Vray eventually, I just have been using Maxwell for 9 years and have a lot invested into it. I know it's super easy to do this in Vray.

If anyone knows, I would appreciate it. Thank you!

Premium Member
Premium Member

Re: Maxwell Render | Batch Scene Export?

Postby JD Hill » Tue May 05, 2020 2:05 pm

If you write the model to mxs, then reference that mxs in another skp with all the various scenes, you can use this one-liner to quickly write out an mxs for each scene:

Sketchup.active_model.pages.each { |p| Sketchup.active_model.pages.selected_page = p; puts "Exporting #{}"; MX::Util.set_output_property('output.scene_name',, true); MX::Export.export('mxs') }

You will want to disable scene transitions and set delay to 0 in window > model info > animation, since it appears ruby does not wait for the transition to complete between scenes. Then, you can use the network render button to set up a batch job for rendering all the mxs files.

Other ways are possible as well, since each scene is written as a camera into the mxs -- e.g. you can write one mxs, and use a python script to open it and render out each camera. But the way given above is probably easiest.
Developer - Bella Render
User avatar
JD Hill 
Bella Render

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Ad Machine 


Return to Extensions & Applications Discussions

Who is online

Users browsing this forum: No registered users and 3 guests

Visit our sponsors: