CAD FORUM - TIPS & TRICKS | UTILITIES | DISCUSSION | BLOCKS | SUPPORT | HELP & ASSISTANCE
Over 1.125.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
The new Beam calculator, Spirograph generator and Regression curves in the Converters section.
New AutoCAD 2027 commands and sys.variables
CAD tip # 6613:
Question
A
Usually you want to do just the opposite. But there are situations where you need to pause and wait for something - to display a slide, to read a message or result, to debug your code.
If you want to pause the execution of your menu macros, scripts or LISP utilities, you can use the DELAY command. On its prompt enter the number of milliseconds to wait. Be carefull when entering large numbers - AutoCAD will really "hang" (freeze) for the specified time (may be good for office pranks :-).
DELAY 0 is also the best "NOP" (no operation) command - it doesn't do anything.
ACADACLT
2.4.2009
8994×
this tip shared by ARKANCE experts applies to: AutoCAD · AutoCAD LT ·
![CAD Forum - ARKANCE Community - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](../common/arkance_186.png)

What is the ARKANCE Community?