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

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.

100% *  CAD 
27.1.2014    5657x  
Comments   Tell a friend

See also:
Tip 11053:Can I use the default parameter URL to reference a relative link?
Tip 10329:Easily share your Fusion 360 design.
Tip 10128:How to convert a line-based map to closed polygons (lots)?
Tip 9197:Export of 3D CAD models to Google Earth.
Tip 8878:Enhanced text fields in AutoCAD Plant 3D.

Back   All CAD Tips All CAD tips&tricks

Color fills missing in Inventor renderings. « | » Where to find the Portable license utility (PLU) in AutoCAD 2010, 2012, 2014 and higher?

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   

Increase your productivity with our set of add-on functions for AutoCAD Civil 3D
CADstudio Civil Tools 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.