CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 2875 
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    8726×  

See also:
Tip 11990:How to open a local .F3Z file in Fusion 360?
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?


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   



Featuring:
Add .CIT raster format support to AutoCAD and Map and Civil 3D
CITin 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.
TOPlist