Share
 
 

Access the Application Object (.NET)

The Application object is at the root of the object hierarchy and it provides access to the main window of AutoCAD. For example, the following line of code updates the application:

C#

Autodesk.AutoCAD.ApplicationServices.Application.UpdateScreen();

VB.NET

Autodesk.AutoCAD.ApplicationServices.Application.UpdateScreen()

VBA/ActiveX Code Reference

ThisDrawing.Application.Update

Was this information helpful?