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® Maya® / SDK / Panel focus change callback - does it exist?
  RSS 2.0 ATOM  

Panel focus change callback - does it exist?
Rate this thread
 
40651
 
Permlink of this thread  
avatar
  • ArtBerry
  • Posted: 11 March 2010 11:30 PM
  • Total Posts: 8
  • Joined: 11 May 2007 12:25 AM

Hi!

Tel me please.

Is it exist any event when user change panel focus?

E.q. user set active panel pers or outliner or graph editor.

Thanks :)



Replies: 0
avatar
  • THNKR
  • Posted: 12 March 2010 02:28 AM

There is.

global proc foo() {
 
print "hey!\n";
}

scriptJob 
-e ModelPanelSetFocus foo;


Replies: 0
avatar
  • ArtBerry
  • Posted: 15 March 2010 01:49 AM

thank you :)



Replies: 0