DimensionLineColor Property

Specifies the color of the dimension line for a dimension, leader, or tolerance object.

See Also | Example

Signature

object.DimensionLineColor

object

Dim3PointAngular, DimAligned, DimAngular, DimArcLength, DimDiametric, DimRadial, DimRadialLarge, DimRotated, Leader, Tolerance
The object or objects this property applies to.

DimensionLineColor

acColor enum; read-write
Use a color index number from 0 to 256, or one of the constants listed here:

acByBlock

acByLayer

acRed

acYellow

acGreen

acCyan

acBlue

acMagenta

acWhite

System variables

This property overrides the value of the DIMCLRD system variable for the given dimension, leader, or tolerance object.

Remarks

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.

 

   Comments?