Over 1.100.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and sys.variables and env.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
8648×
applies to: AutoCAD · AutoCAD LT ·