Maximize or minimize AutoCAD window through automation?

By Gopinath Taget

AutoCAD application can be maximized or minimized through automation by utilizing the ‘WindowState’ property of the Application object as shown in the following sample code:

‘To minimize the application

Application.WindowState = acMin

 

‘To maximize the application

Application.WindowState = acMax

 

‘The window is normal (neither minimized nor maximized).

Application.WindowState = acNorm


Comments

2 responses to “Maximize or minimize AutoCAD window through automation?”

  1. 3D cad drafting looks complex… I’ve just started interior design classes and I can’t wait to get out of 2D modelling but 3D drafting looks intimidating! :)

  2. How do we navigate to this setting. The format looks like a registry entry, but I am not finding it there.

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading