Community
Hello
I want to open a dwg file from code in my program. I have a string variable containing the full path and file name. I want to open the dwg file in an instance of Autocad that is already running, I don't want to open Autocad. The program is written in VB 6.0. Is this possible?
Thank you
John
Hi,
yes, is possible, use COM/ActiveX to get access to the running AutoCAD instance and start controlling it.
Dim tAcadApp as AcadApplication 'or as Object if you use latebinding
Set tAcadApp = getObject(,"AutoCAD.Application")
- alfred -
Can't find what you're looking for? Ask the community or share your knowledge.