Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
global proc setAutoFrame()
{
toggleAutoLoad graphEditor1OutlineEd 0;
int $fit = `optionVar -q graphEditorAutoFit`;
if ($fit==0){
optionVar -intValue graphEditorAutoFit 1;
}
{
if ($fit==0){
optionVar -intValue graphEditorAutoFit 1;
}
doReload graphEditor1OutlineEd;
toggleAutoLoad graphEditor1OutlineEd 0;
}
}
scriptJob -event graphEditorChanged setAutoFrame;
//scriptJob -ka -f;
How to kill the scriptjob by name and not everyone who may be active in the scene.?
With the help of @Kahylan I am using autofit in the graph editor automatically every time the curves are moved, but if I want to stop using the scriptjob I don't know how to stop it without killing everyone with this command.
scriptJob -ka -f;
Solved! Go to Solution.