Scripting: Unsaved Changes?

2012-06-11 Thread Leo Quensel
Hey guys, I was wondering if it is possible to find out if there are any unsaved changes in the current scene with scripting. I want to open a scene via scripting (Python) and need to find out if there are any unsaved changes in the scene and perform some handling if that is the case. Cheers,

Re: Scripting: Unsaved Changes?

2012-06-11 Thread Eric Thivierge
http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112id=14210857linkID=12544120 Be careful if you have events firing on scene open as that could dirty the scene. Though if you don't have events firing, then it would be odd if anything was changing if you simply open it.

Re: Scripting: Unsaved Changes?

2012-06-11 Thread Leo Quensel
Thanks Eric, that seems to work! Original-Nachricht Datum: Mon, 11 Jun 2012 21:22:31 +1000 Von: Eric Thivierge ethivie...@gmail.com An: softimage@listproc.autodesk.com Betreff: Re: Scripting: Unsaved Changes? http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112id