Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Basic math in Autocad? 1

Status
Not open for further replies.

Nate242

Mechanical
Feb 14, 2005
25
Is it possible to add/subtract/divide, etc... on the command line (Something like .4136/2 to get .2086)?
 
Replies continue below

Recommended for you

Yes, using the CAL command. To use the result of CAL in a command, call it transparently with 'CAL (a leading apostrophe)

You can also use lisp statements on the command line, you just need to learn its syntax -enclose in parentheses, operator first. Your example:

(/ .4136 2)

be careful in division, if you use all integers the result will be an integer, for example

(/ 5 2)
will give you 2, not 2.5
 
Thanks, thats exactly what I was looking for.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor