TBH
Joined: 27 Feb 2009
Posts: 1
|
Posted:
Fri Feb 27, 2009 3:36 pm Post subject:
AC14 multisessions with VBA/VB6 |
|
|
when 2 or more AutoCAd14 sessions are open each try to connect to autocad via a VB-program
Set AcadAppl = GetObject(, "AutoCAD.Application")
Set CEDoc = AcadAppl.ActiveDocument
results in a connection to the first AutoCad drawing, regardless from which open drawing the call comes. Only when the first drawing is closed the connection calls the 2nd and so on.
In Acad14 the property AcadApplication.Documents() does not exist.
Does anybody know a workaround ?
|
|