AIS_InteractiveContext.SetLocation question

hi,

I'm working on a RAPID robot code generator [ for ABB robots ].
I'm using the AIS_InteractiveContext.SetLocation call to update the joint segments of the robot.
However, I noticed that once I update the location, a screen refresh occurs.
Since the robot uses 6 joints to produce a linear move, 6 screen refreshes rather than a single one are invoked.
Is there I way I can control AIS_InteractiveContext when to perform a screen refresh?
The screen is repainted too fast now ;D

Thanks,

-jelle

jelle's picture

This thread helped out:
http://www.opencascade.org/org/forum/thread_172/?forum=3
SetImmediateUpdate(False) did the trick...