CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.096.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator. New AutoCAD 2026 commands and variables.
Plex.Earth connects AutoCAD and Google Earth

CAD tip CAD tip # 8971:

Question

CAD 
 %  platform  category 
A
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.

ACADACLT
100% *CAD
15.12.2012    15919×  
applies to: AutoCAD · AutoCAD LT ·

See also:
Tip 14604:QRcode - dynamically generated QR codes in AutoCAD.
Tip 14537:Automation of AutoCAD drawing texts using fields.
Tip 14446:Undocumented options in AutoCAD FIELDs - hyperlinks, hexadecimal or binary format
Tip 14363:Yesterday's, tomorrow's, past or future date in the DWG drawing.
Tip 14307:How do I generate EDU licenses for the Autodesk license server?


Back    All CAD Tips



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
  



Featuring:
Publish interactive 3D PDF models from AutoCAD, Inventor or Revit with Share3D More info


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