Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Basic math in Autocad? 1

Status
Not open for further replies.

Nate242

Mechanical
Feb 14, 2005
25
0
0
US
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
 
Status
Not open for further replies.
Back
Top