How do I find which sound is active in the timeline through MEL? I can list all the audio nodes in the file, but I can't see any attribute that indicates which one is the active one.
Ragnar
You can query the time slider for this. There should be a maya global string $gPlayBackSlider that stores the name of the time slider. Try this...
global string $gPlayBackSlider;$audioNode = timeslider -q -s $gPlayBackSlider;
timeslider -q -s $gPlayBackSlider
Thanx, that got me what I needed. The code was (timeControl, not timeslider), but it got me on the right track.
global string $gPlayBackSlider; $audioNode = `timeControl -q -s $gPlayBackSlider`;
Thanx,