How to check model been animated and delete animation keyframes in maxscripts
How to check if the mesh has been animated, and how to delete all animation keyframes on the mesh. Note that it is not a controller or bone, but a keyframe on the model.
give a man a fish and you feed him for a day,please tell me why u can know this knowlage。Where can I find these commands?
All Replies
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.
/* is it animated? */
$.baseobject[#master_point_controller].keys.count > 0
/* remove existing keys */
deleteKeys $.baseobject[#master_point_controller] #allKeys
As for how to acquire this kind of knowledge – no shortcuts, the more you work with it, the more familiar you get.