Grab values on variables and used it in another class
Hi all, pardon me if I am placing my thread in the wrong place, but I need help in this API script that I am trying to modify as 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 below)
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