scriptJob which reacts to the change of viewport

scriptJob which reacts to the change of viewport

Anonymous
Not applicable
399 Views
0 Replies
Message 1 of 1

scriptJob which reacts to the change of viewport

Anonymous
Not applicable

hello everybody, 

I wanna make a scriptjob which react to an event like 'ActiveViewChanged'* or a simple click in a different viewports.

is there a solution ?

 

for example:

def printTest():

     print 'view has changed.'

cmds.scriptJob( e= ["ActiveViewChanged","printTest"])

 

the solution can be found in python or mel, whatever.

by advance thank you

* it doesn't work at all

0 Likes
400 Views
0 Replies
Replies (0)