CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 1941 

CAD tip CAD tip # 4280:

Question CAD 
 %  platform  category 
Q - question

Using expressions in AutoCAD dialog boxes.

A - answer In AutoCAD 2006 (and higher) you can evaluate mathematical expressions entered in dialog boxes and palettes.

In dialog fields asking for a numerical value (e.g. DIMSTYLE) you can enter expressions like:

=22/3+1
=sin(0.5)
=d2r(45)
=cvunit(10,yd,m)
=MyLISPvariable+1
In the field then press the End (since 2006sp1 the Alt+Enter) keyboard button and the expression is evaluated (computed) like in the AutoCAD QuickCalc calculator. This behaviour can be suppressed with the CALCINPUT system variable.

For older AutoCAD versions you can use e.g. AutoCAD Assistant.

ACAD2010ACAD2008ACAD2006LTADTMap
100% *  CAD 
15.3.2005    15254×  

See also:
Tip 12470:A table with calculated expressions is suddenly dead, doesn't calculate and update.
Tip 12464:How much water is boiling in the Utah teapot?
Tip 12181:Using a YES/NO parameter in Revit schedules.
Tip 12008:How to calculate a cube root in Inventor parameters?
Tip 12002:Arithmetic expressions with measured distances in AutoCAD.


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   



Featuring:
Increase your productivity with our set of BIM add-on functions for Autodesk Revit
CADstudio Revit Tools 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.
TOPlist