CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
New CADforum look launched.
Over 1.090.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new Engineering calculator. New AutoCAD 2026 commands and variables.

CAD tip CAD tip # 4280:

Question

CAD 
 %  platform  category 
A
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.

ACAD2010ACAD2008ACAD2006ACLTADTMap
100% *CAD
15.3.2005    16998×  

See also:
Tip 14484:Minimum, maximum, average, sum and delta values from selected drawing texts.
Tip 14459:How to replace missing functions min() and max() in Revit expressions?
Tip 14441:How to set the number of CPU cores used in Nastran for analysis?
Tip 14417:Quick calculator on an AutoCAD keyboard shortcut.
Tip 14363:Yesterday's, tomorrow's, past or future date in the DWG drawing.


Back    All CAD Tips



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
  



Featuring:
Publish interactive 3D PDF models from AutoCAD, Inventor or Revit with Share3D More info


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