Jump to content

Recommended Posts

Posted

I have searched the internet for a while on this one and I still can't seem to find an answer.

 

First little background. I currently use excel for a lot of other project related tasks. I have written code into excel that executes when a save command is done, and it sends an email to all needed people so they are aware of the changes.

 

What I would like to do is to integrate that same functionality in CAD. I am using 2008 LT, but others will be using other variations including electrical. I created a data link to look at the excel sheet, and created a table that looks at my data link. If I manually do a DATALINKUPDATE and write to the source I get what I am looking for. The trick that I can't figure out is how to make that happen every time the drawing is saved. Any thoughts would be appreciated. I am stumped on this one.

Posted

Wild guess...Could it be done using a script?

Posted

I can write the script, but couldn't figure out how to call it on save.

Posted

Well back in the days of computers the size of a two car garage we'd use a SHELL command to go do something different then come back and finish off what we started. That was using something called a batch file (bat file extension).

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...