Notifications
Clear all
[Closed] check if a object has a animation?
Apr 16, 2012 11:23 am
Is there a way to check if an object hat a key frame animation on any controllers?
8 Replies
2 Replies
the whole thread is about that: http://forums.cgsociety.org/showthread.php?f=98&t=1020938&highlight=mini-challenge
Yes, this is the problem… But now i have a complete other solution Anyway thanks for the link…
Apr 16, 2012 11:23 am
From Maxscript help:
<node>.pos.isAnimated : Boolean, read-only --true if position is animated
<node>.rotation.isAnimated : Boolean, read-only --true if rotation is animated
<node>.scale.isAnimated : Boolean, read-only --true if scale is animated
All animatable properties in 3ds Max objects let you reference several controller-related sub-properties. These are:
<property>.isAnimated
A boolean indicating whether the property is animated.
Hope this helps
Apr 16, 2012 11:23 am
and for a more global check:
[i]trackbar.getPreviousKeyTime/i
and
[i]trackbar.getNextKeyTime/i
If both are undefined then there are no keys on the trackbar, which means no animation for the selected object.
This will not work for network rendering and such (need the GUI) and doesn’t account for trackbar filters but might work in your situation
1 Reply
2 Replies