[mayapy.exe] : can't control error!!, when try to open crashed maya file

[mayapy.exe] : can't control error!!, when try to open crashed maya file

Anonymous
Not applicable
541 Views
0 Replies
Message 1 of 1

[mayapy.exe] : can't control error!!, when try to open crashed maya file

Anonymous
Not applicable

Hi,

I try to make script that query all reference path from maya file without opening it.

So, I used mayapy.exe.

But when run script with special maya file that contain 'Fatal Error', my script was stopped abnormally

(when i opened it mannually, not code, It also was not opened)

 

Question !! :  Is there any way that can control this error by code?, like try-except of python?

(Because I will run script with a lots of maya file and I do not want to stopped this process...

Just want to write the error log in txt and then pass this error...)

 

Thanks!

 

0 Likes
542 Views
0 Replies
Replies (0)