Hello group,<br>
<br>
I'm a beginner learning Python.&nbsp; Trying to automate AutoCAD.&nbsp;
What I wanted to know is how to receive event fired by the AutoCAD
application.&nbsp; When a drawing opening process is done, the
application will fire an event EndOpen.&nbsp; In VBA, I know how to
catch and respond to this event.&nbsp; But do not know how to
accomplish it with Python.&nbsp; <br>
<br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:python-win32@python.org">import win32com.client<br>
acad = win32com.client.Dispatch(&quot;AutoCAD.Application&quot;)<br>
acad.Visible = True<br>
acad.WindowState = 3<br>
doc = acad.Documents.Open(r&quot;C:\Drawings\test.dwg&quot;)<br>
print (&quot;Drawing opened.&quot;)<br>
<br>
</a>Thanks for your time and help,<br clear="all"><br>-- <br><br>Regards,<br>- wcc<br><br>