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: 4642

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    15633×  

See also:
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)
Tip 12926:How to import point coordinates from Excel to AutoCAD?
Tip 12766:Lines with a single grip, incorrect osnaps, intersections, offsets, hatches - CheckLarge
Tip 12627:How to override weight of an assembly component in Fusion 360?


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:
DwgTextTranslator translates a series of drawings from one language to another using MS Access.
Download a fully functional trial version.


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