Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® MotionBuilder® / Python / How to clear/discard current file without saving?
  RSS 2.0 ATOM  

How to clear/discard current file without saving?
Rate this thread
 
61465
 
Permlink of this thread  
avatar
  • dvijay
  • Posted: 28 October 2011 04:18 PM
  • Total Posts: 12
  • Joined: 11 August 2010 03:13 AM

I’m trying to clear/discard the current file at the end of my script by using app.FileNew
This doesn’t seem to be working if the current scene is modified or not saved. I don’t really care about the current scene but I can’t seem to force MotionBuilder to discard the scene and start a new file. I’m using MotionBuilder 2012.

Is there some kind of clear/discard option instead?



Replies: 0