Over 1.105.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 # 12075:
Question
A
The standard MsgBox function in an iLogic rule requires user interaction, pressing a button in the message dialog box. But if you need to show just a temporary message, just for a couple of seconds and without confirming, you may use the following iLogic macro "delay" code.
An example - show message for 3 seconds:
Imports System.Threading.Tasks Dim timeout = 3 ' secs Dim msg As New Form() With { .Enabled = False } Task.Delay(TimeSpan.FromSeconds(timeout)).ContinueWith( Sub(t) msg.Close() End Sub , TaskScheduler.FromCurrentSynchronizationContext()) MessageBox.Show(msg, "My temporary message", "MyTitle")
Inventor
5.12.2018
14108×
this tip shared by ARKANCE experts applies to: Inventor ·
![CAD Forum - 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)

