Is there any way to modify bone tracks with C++?

Wow thank you for posting this, I was having the same issue where my 1 second clip was 60000 frames.

For people from the future, you will get a LOCTEXT issue if (like me) you didn’t use #if WITH_EDITOR as discussed in this thread.