I am working on exporting animations from the start frame to the end frame that the user can enter the input value. I use "cmds.playbackOptions( animationStartTime=startTime, animationEndTime = endTime)" to get my animation start and end time, but it only get the frame range in time slider. I still got all keyframes in my exported fbx files.
Does anyone know how to just export the frame range I want by Python?
I use this command below to export the animation fbx file:
cmds.file(fullName, force = True, options = "v = 0", type = "FBX export", preserveReferences = True, exportSelectedAnim = True)
Also, I entered start and end value in File/Export Selection to test if I could get the frame range I want, but it doesn't work. I still got all keyframes in exported fbx file, which is wired because I thought that option is for choosing the frame range.
Thank you!!!
Solved! Go to Solution.