|
DimensionLineColor 属性 |
指定标注、引线或公差对象的尺寸线颜色。
语法
object.DimensionLineColor
object
Dim3PointAngular,
DimAligned, DimAngular,
DimArcLength, DimDiametric,
DimRadial, DimRadialLarge,
DimRotated, Leader,
Tolerance
使用该属性的对象。
DimensionLineColor
acColor 常数; 可读写
使用从 0 到 256 之间的颜色索引号,或以下列出的常数之一:
acByBlock
acByLayer
acRed
acYellow
acGreen
acCyan
acBlue
acMagenta
acWhite
系统变量
该属性替代给定标注、引线或公差对象的 DIMCLRD 系统变量。
说明
Colors can be set and read as numeric index values ranging from 0 to 256. Constants have been provided for the standard seven colors, as well as the BYBLOCK and BYLAYER designations.
If you use acByBlock, AutoCAD draws new objects in the default color (white or black, depending on your configuration) until they are grouped into the block. When the block is inserted in the drawing, the objects in the block inherit the current setting of the color property.
If you use acByLayer, new objects assume the color of the layer upon which they are drawn.
When you assign color to a dimension object, the color applies to the dimension lines, arrowheads, and dimension leader lines.