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):
标注系统变量可以控制标注的外观。标注系统变量包括 DIMAUNIT、DIMUPT、DIMTOFL、DIMFIT、DIMTIH、DIMTOH、DIMJUST 和 DIMTAD。可以使用 Application 对象的 SetSystemVariable 方法访问并设置这些变量。例如,以下代码行将 DIMAUNIT 系统变量(角度标注的单位格式)设置为弧度 (3):
For more information about the dimensioning system variables, see “Use Dimension Styles” in the AutoCAD User's Guide.
更多关于标注系统变量的详细信息,请参见《AutoCAD 用户手册》中的“使用标注样式”。