Calling a frame render in MEL ?

Hello,

Short version:

Is there a way to call a render and save it to disk of a particular frame from within a MEL script ?

Longer version:

I’m programming a script in Maya for a non CG project – it serves mostly as a UI for another system … Thing is it turns out we’d like to render some frames after all but the thing is our code builds its elements per frame then deletes them all ready for the next (we output text files for use elsewhere), keeping everything and/or keyframing visibility and other attempts have bogged down the RAM with waaaaaaay to much geometry. If we could just call a render from MEL at the end of each frame that would output to disk it’d be awesome. When I select and use the render panel I see no MEL output in the script editor happening from which to distill the commands…

Is it possible ?

Kind regards…

No Responses to “Calling a frame render in MEL ?”

Post a Comment