CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 2979 

CAD tip CAD tip # 12075:

Question CAD 
 %  platform  category 
Q - question

How to display a temporary iLogic message, just for a couple of seconds?

A - answer 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 }
  End Sub ,
MessageBox.Show(msg, "My temporary message", "MyTitle")
100% *  CAD 
5.12.2018    1291×  
applies to: Inventor ·

See also:
Tip 11732:How to sort BOM or parts list by part number in Inventor? (iLogic)
Tip 10889:How to get user's full domain name, phone No., department, e-mail...
Tip 10114:iLogic tip: returning a value on the True and False conditions.
Tip 9952:iLogic rule - check whether iProperties are overridden.
Tip 9935:How to distinguish between an assembly and weldment in VBA or iLogic?

Back   All CAD Tips All CAD tips&tricks

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Track your time spent working on AutoCAD or Revit jobs - automatically with
CADstudio JobTime More info

Please use these tips at your own risk.
CAD Studio is not responsible for possible problems that may occur as a result of using any of these tips.