CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 3289

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    15883×  
Prices - CAD eShop:

See also:
Tip 13426:Use of alternative units for arithmetic in dimensions (without square brackets).
Tip 13216:Internal CAM kernel error in Fusion 360.
Tip 13040:iLogic - display information about complexity of an Inventor part.
Tip 13012:Why Revit doesn't display temporary dimensions when inserting windows or doors?
Tip 13006:Calculated property descriptions (tobogan slide from floor to floor)


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 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.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist