Area :: Header
Interested in making Indie games?

Register for a Meet the Experts webinar with Digital-Tutors today!
Discussion Groups

Python

Reply
Active Contributor
techvd
Posts: 43
Registered: ‎08-11-2010

How to clear/discard current file without saving?

13 Views, 0 Replies
10-28-2011 08:18 PM
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?
Please use plain text.