Maya - Querying previous render information
问题 Does anyone know whether its possible to query the render time of the last render in maya via python or mel? Render time is stored in the render viewer window in the form of a string at the bottom of the image, I would like to access this time and retrieve for later use - is this possible? Thanks 回答1: I know of no way to query it directly, but this solution works: Put the following in your Pre Render MEL (from the Render Settings): python "global last_render_time;import time;last_render_time