Posts: 20
Registered: ‎02-16-2005
Message 1 of 3 (78 Views)

Connecting to the existing ACAD instance

78 Views, 2 Replies
08-24-2005 10:37 AM
'm trying to connect to the existing ACAD 2006 instance from a VB.net project using the com interop object.

I'm using the following code:

Dim myApp As AcadApplication
myApp = GetObject(, "Autocad.Application")
myApp.Visible = True

The code keeps returning a NEW instance of ACAD. I want to tap into the EXISTING instance.

Can someone tell me what's wrong?

mark c.
*Mike Tuersley
Message 2 of 3 (78 Views)

Re: Connecting to the existing ACAD instance

08-24-2005 01:26 PM in reply to: markc01

-- Mike
Mike Tuersley
the trick is to realize that there is no spoon...
Active Contributor
Posts: 27
Registered: ‎08-26-2005
Message 3 of 3 (78 Views)

Re: Connecting to the existing ACAD instance

08-29-2005 07:07 AM in reply to: markc01
what do you have to reference to make this work? I am totally new to AutoCAD and I can't get even this little launch code to work.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!