Notifications
Clear all

[Closed] check if a object has a animation?

Is there a way to check if an object hat a key frame animation on any controllers?

8 Replies
2 Replies
(@denist)
Joined: 11 months ago

Posts: 0
(@jedie)
Joined: 11 months ago

Posts: 0

Yes, this is the problem… But now i have a complete other solution Anyway thanks for the link…

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

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
(@jedie)
Joined: 11 months ago

Posts: 0

I am not sure how to use this for a specific object ?

and what your complete other solution is?

2 Replies
(@jedie)
Joined: 11 months ago

Posts: 0

Nothing related to “has obj animation keys”, sorry.

(@denist)
Joined: 11 months ago

Posts: 0

ok… complete other means completely different.