How to check if CAD started via CreateProcess is ready?

How to check if CAD started via CreateProcess is ready?

zhengyunyang2019
Advocate Advocate
294 Views
1 Reply
Message 1 of 2

How to check if CAD started via CreateProcess is ready?

zhengyunyang2019
Advocate
Advocate

I created a C++ program that starts CAD using the CreateProcess function.

I want to check if CAD has started and is ready (for example, in a state where users can open drawings).

Is there a way to achieve this?

0 Likes
Accepted solutions (1)
295 Views
1 Reply
Reply (1)
Message 2 of 2

daniel_cadext
Advisor
Advisor
Accepted solution

Why not use COM? You can check the document.

Python for AutoCAD, Python wrappers for ARX https://github.com/CEXT-Dan/PyRx
0 Likes