InkDimensionMixin

Synopsis

This mixin provides all of the common attributes for all dimension designs with "inked" objects.

Mixins

InkLeaderMixin

InkTextMixin

Rules

Name Type Description
dimText string The string that should appear as the dimension text. You can incorporate the measured dimension in the text by placing <> where you want it to appear. The default value is "<>".
dimPrecision integer The number of digits that should appear after the decimal point. The default value depends on the dimension type (e.g. diametral, linear, radial, angular) and in some cases the dimension units (e.g. metric) or dimension format (e.g. fractional, radians).
dimFormat name Format for linear dimensions. Default is :Decimal. Choices include :Scientific, :Decimal, :Engineering, :Architectural, and :Fractional.
dimLinearMultiplier number Default is 1.0.
dimPrefix string String that precedes the dimension. Default is "".
dimSuffix string String that follows the dimension. Default is "".
dimAngularFormat name Format for Angular dimensions. Default is :Degrees.
dimUnits name Units for the dimension. The default is :Default - meaning that the units defined for the project are used. Choices include :Default, :Metric, and :English.
dimTextMultiLine? boolean Sets whether the dimension text can span more than one line. Default is False .
dimTextMultiLineWidth number Used if dimTextMultiLine? is True. Default is charHeight * 30.
dimTextMultiLineJustification name Used if dimTextMultiLine? is True . Default is :Center.
dimAlternate? boolean Sets whether alternate dimension text should appear. Default is False .
dimAlternateMultiplier string The string that should appear as the alternate dimension text. Default is "[]".
dimAlternatePrecision integer The number of digits that should appear after the decimal point. The default value depends on the dimension type (e.g. diametral, linear, radial, angular) and in some cases the dimension units (e.g. metric) or dimension format (e.g. fractional, radians).
dimAlternateFormat name Format for linear dimensions. Default is :Decimal. Choices include :Scientific, :Decimal, :Engineering, :Architectural, and :Fractional.
dimAlternatePrefix string String that precedes the alternate dimension. Default is "".
dimAlternateSuffix string String that follows the alternate dimension. Default is "".
dimAlternateAngularFormat name Default is :Degrees. Choices include :Degrees, :DegreesMinutes, :DegreesMinutesSeconds, and :Radians.
dimAlternateUnits name Units for the dimension if dimAlternate? is True . The default is :Default - meaning that the units defined for the project are used. Choices include :Default, :Metric, and :English.
dimAlternateBrackets? boolean Determines whether alternate dimension appears in brackets. Default is True .
dimAlternateLocation name Location for Alternate text relative. Default is :After. Choices are :After or :Below.
textBox? boolean Specifies whether a box is placed around the text. Default is False .
textGap number The distance the dimension lines are spaced away from the dimension text block. The default value is the extensionLineGap / 2.
textColor string Color for text. Default is color.
textAlignment name Horizontal alignment for text. Default is :Aligned. Choices include :Horizontal and :Aligned.
textPlacement name Horizontal placement for Text. Default is :Centered. Choices include :Centered, :Above, and :Below.
extLineGap number Distance between end of extension line and referenced points . Default is charHeight.
extLineExtension number Distance from dimension line to end of the extension line. Default is extLineGap.
extLineColor string Color for extension lines. Default is color.
extLinePattern string Line pattern for extension lines. Default is linePattern.
extLineWidth name Line width to use for extension lines. The default is lineWidth.
dimLineColor string Color for dimension lines. Default is color.
dimLinePattern string Line pattern for dimension lines. Default is linePattern.
dimLineMinLength number Minimum length for dimension lines.