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

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    1673×  
applies to: Inventor ·

See also:
Tip 12697:Opposite angle for angular dimensions in Inventor drawings (iLogic).
Tip 12644:How to identify parts and assemblies imported from STEP/IGES?
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.

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   

Add .CIT raster format support to AutoCAD and Map and Civil 3D
CITin 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.