Over 1.096.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips.
Try the new precise Engineering calculator and the updated Barcode generator.
New AutoCAD 2026 commands and 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
13632×
applies to: Inventor ·