Jump to content

Recommended Posts

Posted

We use Excel for our schedules in AutoCAD using the Data Link and I was wondering if there is a way to have the schedules update automatically in AutoCAD after making changes in excel and saving them, without having AutoCAD open?

Posted

It can be done most likely, but not with inbuilt tools from AutoCAD AFAIK.

 

It's been a while, but doesn't AutoCAD prompt to update when you open a drawing with changed Excel files that are linked?

 

Should be able to run a batch script on a folder of drawings, the opening, updating, saving and closing should be fairly fast.

 

 

 

 

Posted

I moved your thread to the AutoLISP, Visual LISP & DCL Forum.

 

You can have the update automatic as you open a drawing by adding it to acaddoc.lsp (you may need to make one). Every one would need this in their own acaddoc.lsp or a network version could be used. Type at the commandline  (findfile "acaddoc.lsp") to see if there already is one.

 

Just add this...

(command "DATALINKUPDATE" "_U" "_K")

 

Per this article How to automatically update data links in AutoCAD (autodesk.com)

 

You might prefer to use Excel and a VBA macro to update them - Update a table data link in AutoCAD using VBA - Stack Overflow

 

Untested.

 

 

  • Like 1
Posted

Thank you I will give this a try.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...