Getting previous Key/or Index

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 01/07/2008 at 03:22, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   10 
Platform:      
Language(s) :     C++  ;

---------
Hi,
how can I get the previous (on the timeline) key to the one I just added?
I suppose doint something like:
curve->GetKey(curve->GetKeyCount()-1) won't get me the right one, when adding a key inbetween others.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 14/07/2008 at 02:33, xxxxxxxx wrote:

You can get the next/previous key with GetNext()/GetPrev().

cheers,
Matthias