Wait

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > PDMSystem >

Wait

Description

Make the system waiting for a specified number of milliseconds.

Syntax

call DBWShell("Wait [Delay]")

Parameters

Delay

Optional. value expressed in milliseconds.
If no argument is passed, the default value is used.

Remarks

You may call this command in order to permit all database cache flushing to be done

For more info about the default waiting value see the file DBWConn.par

Example

' Create the buy list for the root of the tree

call DBWShell( "BuyList")
if (okDBW = False) then exit sub
excelFile = DBWResult( "@EXCEL_FILE_PATH" )
call DBWShell( "Wait 500")