Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wait for "Reframe On" before executing the next part of code

Status
Not open for further replies.

iscariot

Mechanical
Oct 15, 2009
154
DE
How can I wait for "Reframe On" before executing the next part of code?

Code:
CATIA.StartCommand ("Reframe On")
 
Replies continue below

Recommended for you

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top