Hi, I am trying to get a scriptJob to execute whenever the user changes the view window they're working in. ie as soon as they click from "top" to "side" I want to execute a scipt that changes which object is selected.
They say in the documentation that for a -conditionChange query one may use a "user-defined boolean condition" but there is no indication how I could do this?
This command:
scriptJob -conditionChange (getPanel -withFocus
==$panel) "updateSelWind";
has this result:
// Error: Could not find condition or event named "0" //
obviously its converting the stuff in brackets immediately rather than considering it later when its time to execute the scriptJob.
Any help would be greatly appreciated.
Thanks,
Ken Goulding.
created
Feb '02
last reply
Mar '16
- 3
replies
- 2.7k
views
- 1
user