Shtevil Posted January 29, 2010 Share Posted January 29, 2010 I was wondering if it's possible to edit a datalink's link options using VBA. If so has anyone done this? I've set up a series of existing datalinks for our drawing revisions, but when i create a new sheet from a sheet template i want to bring in the data link and just reset the sheet it is referencing. To do this manually you have edit the data link and it takes between 30 and 50 second for the modify excel link dialogue box to appear. Any help would be appreciated. Cheers Steve. Quote Link to comment Share on other sites More sharing options...
piscopatos Posted July 1, 2015 Share Posted July 1, 2015 i am researching on similar concept. i found a web page "http://adndevblog.typepad.com/autocad/2013/04/linking-attributes-and-table-using-dataextraction-api.html#comments". there are information about how to create datalink and update etc. but it isnt vba. can anyone tell which language is the code written in ? Quote Link to comment Share on other sites More sharing options...
SEANT Posted July 1, 2015 Share Posted July 1, 2015 That was written in C#. Quote Link to comment Share on other sites More sharing options...
piscopatos Posted July 1, 2015 Share Posted July 1, 2015 thanks for the answer Mr. SEANT. at the object browser of Autocad VBA i couldnt find anything related to creating datalink. is there some kind of library for VBA like in the C# ? Quote Link to comment Share on other sites More sharing options...
SEANT Posted July 1, 2015 Share Posted July 1, 2015 You are probably more qualified to answer that question than am I. I haven't done much with VBA in the last half dozen years. Quote Link to comment Share on other sites More sharing options...
rlx Posted July 1, 2015 Share Posted July 1, 2015 You should go to the section.NET, ObjectARX & VBA on this forum gr. R. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.