Freeze AutoCAD application when customized application is invoked

Freeze AutoCAD application when customized application is invoked

Anonymous
Not applicable
606 Views
1 Reply
Message 1 of 2

Freeze AutoCAD application when customized application is invoked

Anonymous
Not applicable

Hi,

 

I am developing an application that integrates with AutoCAD Architecture. I had customized my own ribbon tab with new commands. When my user clicked on my customized button on the ribbon tab, my application gets started. However, I wish to freeze AutoCAD application window when my application is invoked. In other words, the control is given to my application, it is only when user is done with the necessary actions in my application and exit, then the control is return back to AutoCAD application. Similar to the concept when I type the Insert command (type I), a dialog box is prompted and the AutoCAD application window is deactive till i closed the Insert dialog box. How to go about doing this? Please advise and provides me with examples or references. Thanks.

 

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

Anonymous
Not applicable
Accepted solution

Not sure what your program does, but could use .NET API and search for Application.ShowModalDialog(form) which will only give focus back to AutoCAD once form is closed

0 Likes