AutoCAD TIP – Calculate values without the Calculator Function!

Marketing
Marketing
  • Updated

By Dennis Collin

AutoCAD_TIP___Calculate_values_without_the_Calculator_Function_-_1.JPG

AutoCAD_TIP___Calculate_values_without_the_Calculator_Function_-_2.JPG

For many years AutoCAD has had several calculator tools. This can be useful when working out unknowns within a drawing to something straightforward like an enclosed area. The Quickcalc function has been in AutoCAD since 2006 and I often point users to this environment as it possesses a useful Units convertor, like Square Feet to Square Metres, which can save users a lot of painful number crunching.

AutoCAD_TIP___Calculate_values_without_the_Calculator_Function_-_3.JPG

However, there are other ways to calculate values without the Quickcalc function. This can be directly from the (full) AutoCAD command line.

The format is - (Expression<SPACE> value<SPACE> value)

E.g.        (+ 2 2) returns the value 4.

               (* 2 4) returns the value 8.

This method works very similar to how formulas are used in Excel. For example… (+ (* 3 2) 1) yields 7. Also, the expression (* (+ 2 3) 2) yields 10, as AutoCAD will evaluate the inner parentheses first.

Since the command line utilises Lisp, this command line method of evaluating numbers is not available for AutoCAD LT. Although for most users the newer Quickcalc function with its graphical interface will provide a more efficient workflow.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.