I need to emulate the way XSI knows the total duration of an object's animation when creating an action. I need the startframe and duration of the object's animation, and I have no idea what may or may not be animated.
Anyone know of any shortcuts? I couldn't see anything in the SDK, do I need to make a temporary clip and take the info I need from that?
That is also trickier than you'd think given the criteria I listed above (i.e. not knowing what to mark - there could potentially be any kind of constraint or property on the object...)
....and the fact that without giving the StoreAction Command an in or out value, you get no clip anyway! So essentially, you need the value you're looking for in order to find it!...
SIStoreAction( null, null, 2, "temp_clip", false);
I'm using Jscript.
Thanks,
DAN