I know how to test to determine if a single property is animated, but is there a way to loop through all the properties on a layer and find the animated ones?
I'm guessing you could reference the properties by index but how can I find out how many properties are on a layer?
Test for animated properties
Moderator: Paul Tuersley
-
- Posts: 114
- Joined: March 10th, 2005, 5:50 am
- Location: London, UK
- Contact:
Surely you just loop through the properties of the propertyGroup / numProperties an dtest each one, collecting the results in an array?
Thanks Dave, I didn't notice the numProperties object in the reference. duh!
So, I would have to run through all the properties in each of the 3 property groups right?
So, I would have to run through all the properties in each of the 3 property groups right?
-
- Posts: 114
- Joined: March 10th, 2005, 5:50 am
- Location: London, UK
- Contact:
Yeah, pretty much. I wrote some recursive functions a while back to list the properties, but due to how AE handles collections differently from case to case, they almost created as many problems as they solved!
Mind you, it was a while ago, and I was only just getting to grips with the object model, so if I approached it again now I may fare better
Mind you, it was a while ago, and I was only just getting to grips with the object model, so if I approached it again now I may fare better
