CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 18686
Plex.Earth connects AutoCAD and Google Earth

CAD tip CAD tip # 9665:

   
Question CAD 
 %  platform  category 
Q - question

Automatic update of tables linked with datalinks.

A - answer Using the commands TABLE resp. DATALINK you can insert a live content of Excel tables (or parts of them) to your AutoCAD drawing. On any subsequent change of the Excel table you will be notified by AutoCAD and you will have to update the DWG content manually (updates do not depend on the DXEVAL variable).

If you want to perform the update of Excel table data automatically, after you open your DWG drawing, you can use a simple LISP function. Find the file ACADDOC.LSP (by default in the local user Support folder) and add the following line using Notepad.exe:

(command "_DATALINKUPDATE" "_U" "_K")

If the file ACADDOC.LSP does not exist, create it.

Now after you open any drawing, its data links will be automatically updated.

ACADADTACADMCivilMapPlant
100% *  CAD 
27.1.2014    13627×  

See also:
Tip 14022:Comparing design versions in Autodesk Fusion.
Tip 13917:Check for concurrently running named licenses (device limit).
Tip 13891:How to remove personal data from a document (Properties)?
Tip 13770:How do I revert to a previous version of the model in Fusion 360?
Tip 13683:Limitations of the LISP language (AutoLISP, VisualLISP) in AutoCAD LT - what to watch out for


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 glossary   



Featuring:
Increase your productivity with our set of BIM add-on functions for Autodesk Revit
CADstudio Revit Tools More info


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