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

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    7363×  
Comments   Tell a friend

See also:
Tip 11898:Automatic schedule - number of blocks in a drawing.
Tip 11896:How to drive dyn.block parameters or constraints from Excel?
Tip 11539:How to import Solid Edge parts and assemblies into Autodesk Inventor?
Tip 11053:Can I use the default parameter URL to reference a relative link?
Tip 10329:Easily share your Fusion 360 design.

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   

Extend your AutoCAD LT productivity with our popular add-on
CADstudio LT Extension 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.