checkbox on, under preferences/animation

checkbox on, under preferences/animation

dg3duy
Collaborator Collaborator
252 Views
2 Replies
Message 1 of 3

checkbox on, under preferences/animation

dg3duy
Collaborator
Collaborator

How to detect if this option is off and if it is off to turn it on, any example in Mel language?autoframe.png

0 Likes
Accepted solutions (1)
253 Views
2 Replies
Replies (2)
Message 2 of 3

Kahylan
Advisor
Advisor
Accepted solution
int $fit = `optionVar -q graphEditorAutoFit`;
if ($fit==0){
    optionVar -intValue graphEditorAutoFit 1;
}

 

I hope it helps

Message 3 of 3

dg3duy
Collaborator
Collaborator

@Kahylan Excellent! thank you very much, issue solved.

0 Likes