Forgive my ignorance Lando7189, but what is "acctrl.dll."?
Thanks
Rasheeda
It is the 'DWG TrueView' control that you can drop onto a form to view dwg files. You would need to call it from an application developed in VB.NET as it can't be called from VBA within AutoCAD.
Is it difficult to add the API to an application and then call the "DWG TrueView"?
What is involved in this? ie Does it take alot of hours?
thanks
Rasheeda
Rasheeda,
Here is an example of how to use it within Visual Studio (The example is for AutoCAD 2009 & VS2005 using C#, but it demonstrates the basic idea of how it works).
http://through-the-interface.typepad.com/through_the_interface/2008/03/embedding-autoc.html
It also requires DWG True View being installed on the machine the program is running.
So, would I embed the DWG True View within my software application that is on the web?
Therefore it would have to be embedded into the software on a server (ie server license)?
thanks
No -- the dll would be referenced only. The server wouldn't need it, just the local pc calling the webpage.
So, would I need to develop a viewer for my software using the AutoCAD api, or has this been done already?
I want to be able to view .pdfs and dwgs within my software?
thanks
The acctrl.dll contains the viewer control. You just reference it, add the control, and add it to a form. The example i listed earlier shows an example.
my clients wouldn't be able to download a dwg viewer onto their pc, because of restrictions. Hence I wanted to incorporated into the web based software?
Is this doable?
What you are after, I think (viewing DWG files online, as you would a movie or image) isn't currently doable at least not very easily. There are a few prototype systems out there but they are quite complex. You may want to consider a non-scripted solution such as A360 which includes viewers for many different file types.