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

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    13734×  
Comments   Tell a friend

See also:
Tip 11721:A handy calculator - expression evaluator in 3ds Max.
Tip 11256:Making Civil3D DWG files smaller for archiving and e-mail posting.
Tip 11246:Easier hatching between two polylines - Hatch2L.
Tip 11054:Difference volume (3D solid) between two TIN surfaces (sets of coordinates)
Tip 11034:Mass property depending on the current LOD in an Inventor assembly.


Back   All CAD Tips All CAD tips&tricks

Splitting the enterprise (fixed) and user (customizable) part of AutoCAD menu. « | » What for is the lock icon on AutoCAD status bar?

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:
Automatic nesting of 2D parts on rectangular sheets in AutoCAD
AutoNEST 2008 More info


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