Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

how to delete keys

how to delete keys

Anonymous
Not applicable
412 Views
2 Replies
Message 1 of 3

how to delete keys

Anonymous
Not applicable
Hi,

I have managed to set animation keys for a existing controler, but I cannot find out how to delete a range of keys, I have tried the deletetime() method and the deletekeys() method but neither do anything, someone knows how to do it ,thanks!
0 Likes
413 Views
2 Replies
Replies (2)
Message 2 of 3

PAMD76
Enthusiast
Enthusiast
Hi, Animatable::DeleteKeyAtTime( TimeValue ) should work.
Director / Technology Programmer.
Red Wasp Design & Plastic Ant Software
0 Likes
Message 3 of 3

Anonymous
Not applicable
Sadly I have the same problem as with the others methods, it doesnt work. Finally I have managed to make DeleteTime() works through the AnimEnum callback in the same way it is used in the xrefutil sample project of the SDK. I still dont know why it works only in this way.

regards
0 Likes