Define the Dimension System Variables
 
 
 

The dimension system variables control the appearance of dimensions. The dimension system variables include DIMAUNIT, DIMUPT, DIMTOFL, DIMFIT, DIMTIH, DIMTOH, DIMJUST, and DIMTAD. You can set these variables by using the SetSystemVariable method which can be accessed from the Application object. For example, the following line of code sets the DIMAUNIT system variable (the units format for angular dimensions) to radians (3):

VB.NET

Application.SetSystemVariable("DIMAUNIT", 3)

C#

Application.SetSystemVariable("DIMAUNIT", 3);
VBA/ActiveX Code Reference

For more information about the dimensioning system variables, see “Use Dimension Styles” in the AutoCAD User's Guide.