Using iClone 8 RLPy, I can animate a prop with AddKey/SetKeyTransition/ObjectModified and the animation works correctly, but no keyframe dots appear in the timeline. The exact same pattern works in an existing plugin and does produce dots. What is the correct method to produce visible timeline keyframe dots on a prop via Python in iClone 8?
Working code (animates but no dots):
python
ctrl = box.GetControl("Transform")
trans = box.LocalTransform()
trans.R().SetX(0.2588)
trans.R().SetW(0.9659)
time_obj = RLPy.RTime.FromValue(6000)
key_frame = RLPy.RTransformKey()
key_frame.SetTime(time_obj)
key_frame.SetTransform(trans)
ctrl.AddKey(key_frame)
ctrl.SetKeyTransition(time_obj, RLPy.ETransitionType_Step, 1.0)
RLPy.RGlobal.ObjectModified(box, RLPy.EObjectModifiedType_Transform)
Note: RLPy.RTime(value) crashes in our build — only RTime.FromValue() works.