CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 1922 

CAD tip CAD tip # 12685:

Question CAD 
 %  platform  category 
Q - question

ReLinkField - re-link fields to source objects.

A - answer Let's assume you have a DWG drawing with automatic fields, texts or block attributes linking to a specific geometric properties of selected objects (i.e. fields with the Object option). If you now delete the source objects, the dynamic value of the field will lose its link and the field will display only as "######".

With the freeware LISP utility ReLinkField (RLF) you can restore the lost links. If you create a new control object of the same type or if you want to point your dynamic label to a different, existing object of the same type, just type the command RLF, select the label object (text, block) and then select the new source object. You can perform this "link redirection" also on standard, functional links, not only on those broken, lost ones. Neither the display format nor the property type will be changed in the fixed relation link.

An example of such links - different types of labels showing the radius values linked to circle objects. The dependency links are displayed using the FieldLink utility.

You can download the ReLinkField utility from and load its VLX file to your AutoCAD using the APPLOAD command.

A sample drawing - see RLF.DWG in the Block library.

100% *  CAD 
28.7.2020    743×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
Tip 12790:Centered dynamic label (e.g. area label).
Tip 12616:Att2elev - move block to elevation specified by its attribute.
Tip 12470:A table with calculated expressions is suddenly dead, doesn't calculate and update.
Tip 11888:Dynamic label of area and perimeter - DynArea.
Tip 11794:Undocumented code in field expression - MText contents without control characters.

Back   All CAD Tips All CAD tips&tricks

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   

Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools More info

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