Maya Crash: Python save file after baking

Maya Crash: Python save file after baking

Anonymous
Not applicable
934 Views
2 Replies
Message 1 of 3

Maya Crash: Python save file after baking

Anonymous
Not applicable

Hi all,

 

My Maya is crashing whenever I run the pymel.core.newFile() after running the bakeResults command. I've tried using different flags and baking one node at a time. Attached is the error that I get when running the code

0 Likes
935 Views
2 Replies
Replies (2)
Message 2 of 3

cheng_xi_li
Autodesk Support
Autodesk Support

Hi,

 

I am not sure if it is related to pymel, but for Python/C++/.net APIs. If there were unsaved changes in the scene, you must specify force flag when creating a new scene. Otherwise, the function will fail and return an unknown error.

 

Yours,

Li

0 Likes
Message 3 of 3

Anonymous
Not applicable

Ahh yes, I figured it out. I had to select the nodes and then bake instead.

0 Likes