Important
When you render a scene from within Maya, make sure you do not specify a MEL command or script that includes delete operations
or you may accidently delete objects in your scene.
To run a MEL command or script before or after rendering
- In the section of the Render Settings window:
- Enter a MEL command or execute a script to run before rendering each frame in the attribute box.
- Enter a MEL command or execute a script to run after rendering each frame in the attribute box.