[Search tip detail and code files using keywords, tip number, author name, etc ]
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Text Calculator for AutoCAD
Tip# 3211 By Gopal Ramesh On 07-Jun-2009
Rated By 1 users Downloaded : 772
Categories : General Text
Software type : AutoCAD 2010
This command allows users to perform addition and subtraction with AutoCAD text and dimension entities.

Gopal Ramesh sent us a routine he uses to perform basic arithmetic functions in AutoCAD by selecting text he wants added or subtracted.

"This command, Txtcalc, allows you to perform addition and subtraction with AutoCAD text and dimension entities. The command sequence is similar to that of the Area command of AutoCAD. On entering the command, it will show the current total as 0.0 and then choose the mode Add / Subtract. Both options will prompt you to select objects. You can select multiple objects at a time and the program performs the selected arithmetic operation on the selected entities and shows the new current total. You can continue with the desired option or type X to exit to show the grand total and exit the program. This program is very useful especially with dimension objects and it takes care of both default and overridden dimension text."

Notes from Cadalyst Tip Patrol: This is a handy routine that is easy to use, and very quick. The subtraction is tricky in that you have to keep telling it that you want to subtract, not add. Also, if you dimension, or annotate in feet and inches, the routine can’t handle the inches. It adds the feet, but seems to ignore the inches. Decimals work great, even in associative dimensions.


Average Rating:

User comments

Log In