iscariot
Mechanical
- Oct 15, 2009
- 154
How can I wait for "Reframe On" before executing the next part of code?
Code:
CATIA.StartCommand ("Reframe On")
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
'Timer
Dim time1, time2
time1 = Now
time2 = Now + TimeValue("0:00:01")
Do Until time1 >= time2
'DoEvents
CATIA.RefreshDisplay = True
time1 = Now()
Loop