Message 1 of 2
Issue - Opening a scene with Python, unsaved changes
Not applicable
02-26-2015
06:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
So as of lately I'm unable to open scenes with Python (or Mel).
I keep getting a warning that my scene had unsaved changes and then it fails to open the scene.
I flush the scene first, and then open.
I also tried deleting my prefs and re-installing Maya. But none of it worked.
Anybody knows what's going on here?
I use something like this:
from maya import cmds
file_path = "/Users/David/Desktop/SH003SCENE_v001.mb"
cmds.file(new=True, force=True)
cmds.file(file_path, open=True)