AutoCAD 2010/2011/2012 DWG Format
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Syntax for automatic calculatio ns when entering dimensions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
When entering a linear dimension, I want to automatically subtract 5 units from the actual dimension entered.Nothing I've tried has worked, hoping it is a simple syntax issue. Thanks
AutoCad 2011
Re: Syntax for automatic calculatio ns when entering dimensions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I personally don't think that this could be done, dimension styles only give you a scaling factor. Maybe with a lisp, but not with plain styles.
Re: Syntax for automatic calculatio ns when entering dimensions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
It can be done by using a field in place of the dimension text. When you insert the field, select "Objects" as the field category & select "Object" in the field names. Select the object that you are dimensioning & select "length" as the property.
The trick now to do the math is to highlight & copy the text & the bottom of the window in the "Field Expression" box, change the field name from Object to Formula. Right click & paste what you copied into the "Formula" box & type "- 5" (without quotes) to complete the formula. If you click on Evaluate you will see the result in the Preview box at the top. Change the Format of the field to get the data to appear the way you want it.
It is a few steps but it will get you the results you want.

