i am continuing where andre left off...
i have an object that is animated using layers. i am trying to access one of the parameter's source method. with layers it returns the mixer on that model. but with the base layer active i still get the mixer. i need to be able to get the fcurve of the base layer for that parameter.
animate an object with at least one layer... this code will log "Mixer" regardless of active layer... so how do i get my baselayer animation??
#######
#imports
import win32com.client
from
win32com.client import constants
#globals
xsi = win32com.client.Dispatch( "XSI.Application" ).Application
xsiPrint = xsi.LogMessage
animatedObject = xsi.Selection(0)
#returns mixer regardless of active layer
mixer = animatedObject.Kinematics.Local.posx.source
xsiPrint(mixer)
#######
steven