Never mind. I went with this method instead:
dim hand as xpBaseObject
dim clip as xpAnimController
dim i as integer
Self.GetAnimControllerByName("AnimController1", clip)
Self.GetObjectByName("Cube1",hand)
for i=0 to 77
clip.SetKeyFrameRotation(hand,i*59.94,0,0,i*4.675,5)
next
That sets a Z rotation keyframe every second and divides the 360 degree rotation by 77. The 5 at the end is to make the keyframes into Hold keyframes.
If there is a better way, please let me know.
#XPression