Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Feb 14, 2005
Messages
25
Location
US
Is it possible to add/subtract/divide, etc... on the command line (Something like .4136/2 to get .2086)?
 
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

Back
Top