Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

COULD data link be updated automatically

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
Anonymous
4967 Views, 7 Replies

COULD data link be updated automatically

I have a data link as an excel file. I have that link in many pages of my drawing set. If I change some parameters in the excel. I have to open each sheet and click download repetitively. Are there any ways to update the data link automatically? just like an xref

7 REPLIES 7
Message 2 of 8
Anonymous
in reply to: Anonymous

HI

 

Use this command 

 

DATALINKUPDATE (DLU)

Message 3 of 8
Anonymous
in reply to: Anonymous

This command only works in 1 CAD file!! I still need to open them one by one.

I am seeking the method to update automatically each time I make change of the data link. Not open the cad file one by one and use this command.

But still thanks!!

Message 4 of 8
john.vellek
in reply to: Anonymous

Hi @Anonymous,

 

Have you considered placing the update command into a lisp file such as acaddoc.lsp which would load at start?

 

I think this syntax might work:  (command "DATALINKUPDATE" "_U" "_K")

 

 

Please select the Accept as Solution button if my post solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
Message 5 of 8
Anonymous
in reply to: john.vellek

thanks!

Would you like to share some instruction or documentation about how to make the lisp file load automatically when I open the file? Thanks

Message 6 of 8
john.vellek
in reply to: Anonymous

Hi @Anonymous,

 

I have attached the lsp file. Put it in your AutoCAD support path and that should work. ( I hope I got the syntax correct as i don't do much Lisp programming anymore).

 

I'm sure a Community member can help out if I got it screwed up.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
Message 7 of 8
pendean
in reply to: Anonymous
Message 8 of 8
cadffm
in reply to: Anonymous

Like pendean said: Put it in your AutoCAD support path.

Try before: (findfile "acaddoc.lsp"), if response "nil" then all is fine and you can place the file in supportparth (standard supportpath or in your own, Options/Files/)

If resonse is a filepath you should add this file with the content of the file from pendeans attachment.

Sebastian

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

State of Sustainability Webinar


AutoCAD Inside the Factory