Thank you, I used below code.
My code is in CATScript on PC in this case. I'm curios if I will be able to do it to work also for Unix.
Code:
'Timer
Dim time1, time2
time1 = Now
time2 = Now + TimeValue("0:00:01")
Do Until time1 >= time2
'DoEvents
CATIA.RefreshDisplay = True
time1 = Now()
Loop