Syntax Error, Don't know why

Syntax Error, Don't know why

Anonymous
Not applicable
749 Views
1 Reply
Message 1 of 2

Syntax Error, Don't know why

Anonymous
Not applicable

Hi All,

I'm fairly new to scripting and using MEL for this generic stretch arm script. It requires that you have the joints and measurement nodes in the scene, which I have. It's getting most of the way through the script, but when it comes time to set the driven keys, it's returning a Syntax Error. I'm not sure why it would be doing that but it's basically saying that the variables I'm passing along in the argument aren't declared. Would anyone like to take a look and see if you can tell me what might be happening?

script.png

0 Likes
Accepted solutions (1)
750 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution

Nevermind, I figured it out. Apparently I'd misspelled the setKeyFrame procedure and had an extra end bracket that wasn't necessary. I've attached the fixed version if anyone wants to compare the two.

0 Likes