Call for Submission
NAB 2012 Best of the Best Show Reel
Submit your work today!
  • 1/3
You are here: Forum Home / Autodesk® MotionBuilder® / Python / closing a GUI window
  RSS 2.0 ATOM  

closing a GUI window
Rate this thread
 
46583
 
Permlink of this thread   Subscribe to this thread
avatar
  • steebu
  • Posted: 25 August 2010 01:02 PM
  • Total Posts: 42
  • Joined: 09 January 2007 01:40 PM

How might I close a GUI window I’ve created in MB 2011?

Using DestroyTool() or DestroyToolByName() works in MB 2010, but if I run the exact same code in 2011 and try to load an .fbx file MB crashes.  It doesn’t matter what .fbx file I try to load, MB will crash.

Even something as simple as

toolname 'test foobar'
CreateUniqueTooltoolname )
DestroyToolByNametoolname )

will crash in MB 2011 if I try to load an .fbx after running it.  MB 2010 exhibits no such behavior ... :-(



Replies: 0




   
  Settings Choose Theme color: