Grab values on variables and use it in another class?

Grab values on variables and use it in another class?

Anonymous
Not applicable
379 Views
0 Replies
Message 1 of 1

Grab values on variables and use it in another class?

Anonymous
Not applicable

Hi all, pardon me if I am placing my thread in the wrong post, but I need help in this API script that I am trying to modify.. I am new to this API and the coding world...

 

So bascially this script exports any maya camera in the format of .chan and I am trying to modify it, such that t will gives user the option of choosing to export it using either the time slider range or the keyframed range of the camera, upon the click of the 'confirm' button 

 

Currently I am having problem where I am unable to get the confirmBtn working - I tried to code it similarly as the chanMe but then I will be meet with more errors about a few variables not being defined... (Please see attachment)

 

I also thought of appending the values but that would means I would need to create 2 global variables for the startAnimation and endAnimation but I have read that globals are a big no-no (correct me if I am wrong on this..)

 

Can someone help me? I really want to get this working and I am totally lost

 

0 Likes
380 Views
0 Replies
Replies (0)