CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 6088 

CAD tip CAD tip # 8971:

Question CAD 
 %  platform  category 
Q - question

Linking together values of two dimensions in AutoCAD.

A - answer You have two dimensions and you need to automatically change the second dimension when the first dimension is updated - to the same or to a derived value.

You can use dynamic text fields for such link. Create the first dimension in a usual way, by dimensioning an object. Create the second dimension, double-click on its text to edit it (use DDEDIT in older AutoCAD versions). Delete the original text (the dimension value) and choose Insert > Field from the context ribbon (or press Ctrl+F). In the Field dialog, choose the category Objects, the field Object. Select the the object of the first dimension and from the Properties list choose the property "Measurement". Adjust the Format and Additional format as neccessary and finish editing of the second dimension.

Both dimensions stay dynamically linked - the second one depends on changes of the first one (after regeneration or save).

Text fields can contain also arithmetic expressions (see the tip 9717), so you can also modify the text of the second dimension by a calculation.

ACADLT
100% *  CAD 
15.12.2012    6337×  
Comments   Tell a friend
applies to: AutoCAD · AutoCAD LT ·

See also:
Tip 11888:Dynamic label of area and perimeter - DynArea.
Tip 11794:Undocumented code in field expression - MText contents without control characters.
Tip 11565:AttDefault - reset block attributes to default values.
Tip 11404:Operations with attributes inside a block - fields.
Tip 11171:Total number of layouts as a field.


Back   All CAD Tips All CAD tips&tricks

Minesweeper game for Autodesk Inventor. « | » Batch insert of multiple DWG files into one.

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
Save your floating licenses (NLS) consumed by inactive users - free unused licenses with
LogOff 2006 More info


Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist