THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/04/2011 at 16:09, xxxxxxxx wrote:
I have this little bit of code:
curKeyDict=curve _.AddKey(doc.GetTime())
curKey=curKeyDict["key"]
curKey.SetValue(curve _, curValue)
curKey.SetTime(curve _, doc.GetTime())
Which just basically adds a key to a curve, sets the value and the time. However, the viewport does not update. The Key gets added properly and I see it, but I still have to press A to refresh the view to show the changes on the object. Does anyone know what I need so I don't have to refresh it? I've tried EventAdd() but that's not doing it. I also tried DrawViews() but that too didn't work.
Can anyone help me out here?