I need to get all Autocad applications objects, not only active one.
I'm writing a program which is checking if XREFS attached to current drawing are not opened in another Autocad instance.
Normaly I can get document collection as follow:
Dim docCol As DocumentCollection = Application.DocumentManager
Is there a way to get an Application object from another Autocad process (acad.exe)?
I wonder if there is something like this:
Basic scenario is:
- Create new autocad drawing
- Open another drawing in separated Autocad instance (another process)
- Attach second drawing to newly created one as Xref.
Problem is with checking if attached reference is opened in second instance of Autocad.