winteralfs
winteralfs

Reputation: 519

I have a python script that launches interactive renders in Maya and I would like my script's cancel button to stop the render like the 'esc' does

I would like my python script's cancel function to interrupt the Maya render in the same was pressing the 'esc' key does. How would I mimic that behavior with my function?

google, autodesk site

I can interrupt the script with various functions, but I have not been able to esc out of an interactive render.

Upvotes: 0

Views: 352

Answers (1)

elSchreib
elSchreib

Reputation: 11

stopIprRendering renderView; if using the render view

using echo all commands will usually have the command hidden in the script editor history.

Upvotes: 1

Related Questions