DimensionStyleBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# DimensionStyleBuilder Class

class `NXOpen.Annotations.``DimensionStyleBuilder`

  Bases: `NXOpen.TaggedObject`, `NXOpen.GeometricUtilities.IComponentBuilder`

  Represents a `NXOpen.Annotations.DimensionStyleBuilder`.

  This class queries and sets dimension preferences when creating or editing a dimension.

  New in version NX6.0.0.

# Properties

Property | Description
--- | ---
AngularDimensionValuePrecision | Returns or sets the angular dimension value precision
AngularToleranceValuePrecision | Returns or sets the angular tolerance value precision
BaselineOffset | Returns or sets the offset between dimension lines of baseline dimensions
ChainOffset | Returns or sets the offset between dimension lines of chain dimensions
ChamferForm | Returns or sets the chamfer dimension form
ChamferLeaderType | Returns or sets the chamfer dimension leader type
ChamferSeparator | Returns or sets the chamfer separator type
ChamferSpaceFactor | Returns or sets the chamfer dimension space factor
ChamferStubType | Returns or sets the chamfer dimension stub type
ChamferSymbolName | Returns or sets the chamfer dimension symbol name
ChamferSymbolType | Returns or sets the chamfer dimension symbol type
DimArrowDisplay | Returns or sets the dimension arrow display option
DimZeroToleranceDisplayStyle | Returns or sets the dimension zero tolerance display style
DimensionValuePrecision | Returns or sets the dimension value precision
DualDimensionFractionDenominator | Returns or sets the dual dimension fractional denominator
DualDimensionValuePrecision | Returns or sets the dual dimension value precision
DualToleranceValuePrecision | Returns or sets the dual tolerance value precision
ExtensionLineDisplay | Returns or sets the extension line display option.
FitToleranceParentheses | Returns or sets the fit tolerance parentheses option.
FitToleranceSeparator | Returns or sets the fit tolerance separator option.
InspectionDimension | Returns or sets the inspection dimension flag
InspectionSymbolAroundAppendedText | Returns or sets the inspection symbol around appended text option
LimitFitAnsiHoleType | Returns or sets the dimension limit fit ANSI hole type
LimitFitAssemblyDisplayStyle | Returns or sets the display style of fit tolerance for assembly dimensions.
LimitFitAssemblyNewDisplayStyle | Returns or sets the new display style of fit tolerance for assembly dimensions.
LimitFitDeviation | Returns or sets the dimension limit fit deviation
LimitFitDisplayAlignment | Returns or sets the dimension limit fit display alignment.
LimitFitDisplaySplitByDimline | Returns or sets the dimension limit fit assembly display when split by dimension line.
LimitFitDisplayStyle | Returns or sets the dimension limit fit display style
LimitFitGrade | Returns or sets the dimension limit fit grade
LimitFitShaftDeviation | Returns or sets the shaft deviation for fit tolerance of a dimension
LimitFitShaftGrade | Returns or sets the shaft grade for fit tolerance of a dimension
LineBetweenArrows | Returns or sets the line between arrows.
LowerToleranceDegrees | Returns or sets the lower angular tolerance in degrees
LowerToleranceEnglish | Returns or sets the lower english tolerance
LowerToleranceMetric | Returns or sets the lower metric tolerance
NarrowArrowType | Returns or sets the narrow dimension arrowhead type which is used when there is no space for normal arrowheads
NarrowDisplayType | Returns or sets the display type for narrow dimensions
NarrowLeaderAngle | Returns or sets the narrow dimension leader angle
NarrowTextOffset | Returns or sets the narrow dimension text offset
NarrowTextOrientation | Returns or sets the narrow dimension text orientation
Orientation | Returns or sets the dimension text orientation
OverrideDimensionText | Returns or sets the override dimension text
PrefixSuffixReference | Returns or sets the flag indicating whether prefix suffix reference toggle is turned on or not
PrimaryDimensionFractionDenominator | Returns or sets the primary dimension fractional denominator
ReferenceDimension | Returns or sets the reference dimension flag
ReferenceDimensionPrefix | Returns or sets the prefix characters for reference dimension
ReferenceDimensionSuffix | Returns or sets the suffix characters for reference dimension
ReverseArrowDirection | Returns or sets the reverse arrow direction flag
Tag | Returns the Tag for this object.
TextAngle | Returns or sets the dimension text angle
TextArrowPlacement | Returns or sets the text arrow placement.
TextCentered | Returns or sets the dimension text centered option
TextPosition | Returns or sets the dimension text position representing above or after stub
ToleranceType | Returns or sets the dimension tolerance type
ToleranceValuePrecision | Returns or sets the tolerance value precision
TrimDimLine | Returns or sets the trim dimension line flag.
TrueLengthText | Returns or sets the true length dimension text
TrueLengthTextPosition | Returns or sets the true length text position
UpperToleranceDegrees | Returns or sets the upper angular tolerance in degrees
UpperToleranceEnglish | Returns or sets the upper english tolerance
UpperToleranceMetric | Returns or sets the upper metric tolerance

# Methods

Method | Description
--- | ---
GetOverriddenDimensionText | Returns the overridden dimension text value
SetOverriddenDimensionText | Sets the overridden dimension text value
Validate | Validate whether the inputs to the component are sufficient for commit to be called.

# Property Detail

## AngularDimensionValuePrecision

`DimensionStyleBuilder.``AngularDimensionValuePrecision`

  Returns or sets the angular dimension value precision

  `-------------------------------------`

  Getter Method

  Signature `AngularDimensionValuePrecision`

  Returns: |
  Return type: | int

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `AngularDimensionValuePrecision`

  Parameters: | angularDimensionValuePrecision (int) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## AngularToleranceValuePrecision

`DimensionStyleBuilder.``AngularToleranceValuePrecision`

  Returns or sets the angular tolerance value precision

  `-------------------------------------`

  Getter Method

  Signature `AngularToleranceValuePrecision`

  Returns: |
  Return type: | int

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `AngularToleranceValuePrecision`

  Parameters: | angularToleranceValuePrecision (int) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## BaselineOffset

`DimensionStyleBuilder.``BaselineOffset`

  Returns or sets the offset between dimension lines of baseline dimensions

  `-------------------------------------`

  Getter Method

  Signature `BaselineOffset`

  Returns: |
  Return type: | float

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `BaselineOffset`

  Parameters: | baselineOffset (float) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## ChainOffset

`DimensionStyleBuilder.``ChainOffset`

  Returns or sets the offset between dimension lines of chain dimensions

  `-------------------------------------`

  Getter Method

  Signature `ChainOffset`

  Returns: |
  Return type: | float

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ChainOffset`

  Parameters: | chainOffset (float) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## ChamferForm

`DimensionStyleBuilder.``ChamferForm`

  Returns or sets the chamfer dimension form

  `-------------------------------------`

  Getter Method

  Signature `ChamferForm`

  Returns: |
  Return type: | `NXOpen.Annotations.ChamferForm`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ChamferForm`

  Parameters: | chamferForm (`NXOpen.Annotations.ChamferForm`) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## ChamferLeaderType

`DimensionStyleBuilder.``ChamferLeaderType`

  Returns or sets the chamfer dimension leader type

  `-------------------------------------`

  Getter Method

  Signature `ChamferLeaderType`

  Returns: |
  Return type: | `NXOpen.Annotations.ChamferLeaderPlacement`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ChamferLeaderType`

  Parameters: | chamferLeaderType (`NXOpen.Annotations.ChamferLeaderPlacement`) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## ChamferSeparator

`DimensionStyleBuilder.``ChamferSeparator`

  Returns or sets the chamfer separator type

  `-------------------------------------`

  Getter Method

  Signature `ChamferSeparator`

  Returns: | Separator type
  Return type: | `NXOpen.Annotations.ChamferSeparatorType`

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ChamferSeparator`

  Parameters: | separator (`NXOpen.Annotations.ChamferSeparatorType`) – New separator type

  New in version NX9.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## ChamferSpaceFactor

`DimensionStyleBuilder.``ChamferSpaceFactor`

  Returns or sets the chamfer dimension space factor

  `-------------------------------------`

  Getter Method

  Signature `ChamferSpaceFactor`

  Returns: |
  Return type: | float

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ChamferSpaceFactor`

  Parameters: | chamferSpaceFactor (float) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## ChamferStubType

`DimensionStyleBuilder.``ChamferStubType`

  Returns or sets the chamfer dimension stub type

  `-------------------------------------`

  Getter Method

  Signature `ChamferStubType`

  Returns: |
  Return type: | `NXOpen.Annotations.ChamferStubType`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ChamferStubType`

  Parameters: | chamferStubType (`NXOpen.Annotations.ChamferStubType`) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## ChamferSymbolName

`DimensionStyleBuilder.``ChamferSymbolName`

  Returns or sets the chamfer dimension symbol name

  `-------------------------------------`

  Getter Method

  Signature `ChamferSymbolName`

  Returns: |
  Return type: | str

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ChamferSymbolName`

  Parameters: | chamferSymbolName (str) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## ChamferSymbolType

`DimensionStyleBuilder.``ChamferSymbolType`

  Returns or sets the chamfer dimension symbol type

  `-------------------------------------`

  Getter Method

  Signature `ChamferSymbolType`

  Returns: |
  Return type: | `NXOpen.Annotations.ChamferSymbolPlacement`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ChamferSymbolType`

  Parameters: | chamferSymbolType (`NXOpen.Annotations.ChamferSymbolPlacement`) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## DimArrowDisplay

`DimensionStyleBuilder.``DimArrowDisplay`

  Returns or sets the dimension arrow display option

  `-------------------------------------`

  Getter Method

  Signature `DimArrowDisplay`

  Returns: |
  Return type: | `NXOpen.Annotations.ArrowDisplay`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `DimArrowDisplay`

  Parameters: | dimArrowDisplay (`NXOpen.Annotations.ArrowDisplay`) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## DimZeroToleranceDisplayStyle

`DimensionStyleBuilder.``DimZeroToleranceDisplayStyle`

  Returns or sets the dimension zero tolerance display style

  `-------------------------------------`

  Getter Method

  Signature `DimZeroToleranceDisplayStyle`

  Returns: |
  Return type: | `NXOpen.Annotations.ZeroToleranceDisplayStyle`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `DimZeroToleranceDisplayStyle`

  Parameters: | dimZeroToleranceDisplayStyle (`NXOpen.Annotations.ZeroToleranceDisplayStyle`) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## DimensionValuePrecision

`DimensionStyleBuilder.``DimensionValuePrecision`

  Returns or sets the dimension value precision

  `-------------------------------------`

  Getter Method

  Signature `DimensionValuePrecision`

  Returns: |
  Return type: | int

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `DimensionValuePrecision`

  Parameters: | dimensionValuePrecision (int) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## DualDimensionFractionDenominator

`DimensionStyleBuilder.``DualDimensionFractionDenominator`

  Returns or sets the dual dimension fractional denominator

  `-------------------------------------`

  Getter Method

  Signature `DualDimensionFractionDenominator`

  Returns: |
  Return type: | `NXOpen.Annotations.FractionDenominatorFormat`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `DualDimensionFractionDenominator`

  Parameters: | dualDimensionFractionDenominator (`NXOpen.Annotations.FractionDenominatorFormat`) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## DualDimensionValuePrecision

`DimensionStyleBuilder.``DualDimensionValuePrecision`

  Returns or sets the dual dimension value precision

  `-------------------------------------`

  Getter Method

  Signature `DualDimensionValuePrecision`

  Returns: |
  Return type: | int

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `DualDimensionValuePrecision`

  Parameters: | dualDimensionValuePrecision (int) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## DualToleranceValuePrecision

`DimensionStyleBuilder.``DualToleranceValuePrecision`

  Returns or sets the dual tolerance value precision

  `-------------------------------------`

  Getter Method

  Signature `DualToleranceValuePrecision`

  Returns: |
  Return type: | int

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `DualToleranceValuePrecision`

  Parameters: | dualToleranceValuePrecision (int) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## ExtensionLineDisplay

`DimensionStyleBuilder.``ExtensionLineDisplay`

  Returns or sets the extension line display option.

  `-------------------------------------`

  Getter Method

  Signature `ExtensionLineDisplay`

  Returns: |
  Return type: | `NXOpen.Annotations.ExtensionLineDisplay`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ExtensionLineDisplay`

  Parameters: | extensionLineDisplay (`NXOpen.Annotations.ExtensionLineDisplay`) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## FitToleranceParentheses

`DimensionStyleBuilder.``FitToleranceParentheses`

  Returns or sets the fit tolerance parentheses option.

  When the value is true, parentheses will be shown on the fit tolerance text. Otherwise, a blank space will be used.

  `-------------------------------------`

  Getter Method

  Signature `FitToleranceParentheses`

  Returns: |
  Return type: | bool

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `FitToleranceParentheses`

  Parameters: | showFitParentheses (bool) –

  New in version NX9.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## FitToleranceSeparator

`DimensionStyleBuilder.``FitToleranceSeparator`

  Returns or sets the fit tolerance separator option.

  When the limit fit type is FIT and the value true, a line will be drawn to separate the hole and shaft tolerance texts.

  `-------------------------------------`

  Getter Method

  Signature `FitToleranceSeparator`

  Returns: |
  Return type: | bool

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `FitToleranceSeparator`

  Parameters: | showFitSeparator (bool) –

  New in version NX9.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## InspectionDimension

`DimensionStyleBuilder.``InspectionDimension`

  Returns or sets the inspection dimension flag

  `-------------------------------------`

  Getter Method

  Signature `InspectionDimension`

  Returns: |
  Return type: | bool

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `InspectionDimension`

  Parameters: | inspectionDimension (bool) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## InspectionSymbolAroundAppendedText

`DimensionStyleBuilder.``InspectionSymbolAroundAppendedText`

  Returns or sets the inspection symbol around appended text option

  `-------------------------------------`

  Getter Method

  Signature `InspectionSymbolAroundAppendedText`

  Returns: |
  Return type: | `NXOpen.Annotations.InspectionSymbolAroundAppendedText`

  New in version NX11.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `InspectionSymbolAroundAppendedText`

  Parameters: | inspectionSymbolAroundAppendedText (`NXOpen.Annotations.InspectionSymbolAroundAppendedText`) –

  New in version NX11.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## LimitFitAnsiHoleType

`DimensionStyleBuilder.``LimitFitAnsiHoleType`

  Returns or sets the dimension limit fit ANSI hole type

  `-------------------------------------`

  Getter Method

  Signature `LimitFitAnsiHoleType`

  Returns: |
  Return type: | `NXOpen.Annotations.FitAnsiHoleType`

  New in version NX7.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `LimitFitAnsiHoleType`

  Parameters: | fitHoleType (`NXOpen.Annotations.FitAnsiHoleType`) –

  New in version NX7.5.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## LimitFitAssemblyDisplayStyle

`DimensionStyleBuilder.``LimitFitAssemblyDisplayStyle`

  Returns or sets the display style of fit tolerance for assembly dimensions.

  When the limit fit type is FIT, the display can be on a single line, or two lines centered with the dimension text or two lines with the shaft text in line with the dimension text. This property is obsolete.

  `-------------------------------------`

  Getter Method

  Signature `LimitFitAssemblyDisplayStyle`

  Returns: |
  Return type: | `NXOpen.Annotations.FitAssemblyDisplayStyle`

  New in version NX9.0.0.

  Deprecated since version NX11.0.0: Use `NXOpen.Annotations.DimensionStyleBuilder.LimitFitAssemblyNewDisplayStyle()` instead.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `LimitFitAssemblyDisplayStyle`

  Parameters: | fitAssemblyDisplayStyle (`NXOpen.Annotations.FitAssemblyDisplayStyle`) –

  New in version NX9.0.0.

  Deprecated since version NX11.0.0: Use `NXOpen.Annotations.DimensionStyleBuilder.LimitFitAssemblyNewDisplayStyle()` instead.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## LimitFitAssemblyNewDisplayStyle

`DimensionStyleBuilder.``LimitFitAssemblyNewDisplayStyle`

  Returns or sets the new display style of fit tolerance for assembly dimensions.

  When the limit fit type is FIT, the display can be on a single line or double line

  `-------------------------------------`

  Getter Method

  Signature `LimitFitAssemblyNewDisplayStyle`

  Returns: |
  Return type: | `NXOpen.Annotations.FitAssemblyNewDisplayStyle`

  New in version NX11.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `LimitFitAssemblyNewDisplayStyle`

  Parameters: | fitAssemblyDisplayStyle (`NXOpen.Annotations.FitAssemblyNewDisplayStyle`) –

  New in version NX11.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## LimitFitDeviation

`DimensionStyleBuilder.``LimitFitDeviation`

  Returns or sets the dimension limit fit deviation

  `-------------------------------------`

  Getter Method

  Signature `LimitFitDeviation`

  Returns: |
  Return type: | str

  New in version NX7.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `LimitFitDeviation`

  Parameters: | fitDeviation (str) –

  New in version NX7.5.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## LimitFitDisplayAlignment

`DimensionStyleBuilder.``LimitFitDisplayAlignment`

  Returns or sets the dimension limit fit display alignment.

  When the limit fit type is FIT, the hole and shaft tolerances can be aligned as centered value, centered value and fit or bottom

  `-------------------------------------`

  Getter Method

  Signature `LimitFitDisplayAlignment`

  Returns: |
  Return type: | `NXOpen.Annotations.FitDisplayAlignment`

  New in version NX11.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `LimitFitDisplayAlignment`

  Parameters: | fitDisplayAlignment (`NXOpen.Annotations.FitDisplayAlignment`) –

  New in version NX11.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## LimitFitDisplaySplitByDimline

`DimensionStyleBuilder.``LimitFitDisplaySplitByDimline`

  Returns or sets the dimension limit fit assembly display when split by dimension line.

  When the limit fit type is FIT or layout is SINGLE LINE, the hole and shaft tolerances can be shown without any split, splitting tolerance by the dimension line or splitting tolerance and value by the dimension line

  `-------------------------------------`

  Getter Method

  Signature `LimitFitDisplaySplitByDimline`

  Returns: |
  Return type: | `NXOpen.Annotations.FitDisplaySplitByDimline`

  New in version NX11.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `LimitFitDisplaySplitByDimline`

  Parameters: | fitDisplaySplitByDimline (`NXOpen.Annotations.FitDisplaySplitByDimline`) –

  New in version NX11.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## LimitFitDisplayStyle

`DimensionStyleBuilder.``LimitFitDisplayStyle`

  Returns or sets the dimension limit fit display style

  `-------------------------------------`

  Getter Method

  Signature `LimitFitDisplayStyle`

  Returns: |
  Return type: | `NXOpen.Annotations.FitDisplayStyle`

  New in version NX7.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `LimitFitDisplayStyle`

  Parameters: | fitDisplayStyle (`NXOpen.Annotations.FitDisplayStyle`) –

  New in version NX7.5.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## LimitFitGrade

`DimensionStyleBuilder.``LimitFitGrade`

  Returns or sets the dimension limit fit grade

  `-------------------------------------`

  Getter Method

  Signature `LimitFitGrade`

  Returns: |
  Return type: | int

  New in version NX7.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `LimitFitGrade`

  Parameters: | fitGrade (int) –

  New in version NX7.5.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## LimitFitShaftDeviation

`DimensionStyleBuilder.``LimitFitShaftDeviation`

  Returns or sets the shaft deviation for fit tolerance of a dimension

  `-------------------------------------`

  Getter Method

  Signature `LimitFitShaftDeviation`

  Returns: |
  Return type: | str

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `LimitFitShaftDeviation`

  Parameters: | fitShaftDeviation (str) –

  New in version NX9.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## LimitFitShaftGrade

`DimensionStyleBuilder.``LimitFitShaftGrade`

  Returns or sets the shaft grade for fit tolerance of a dimension

  `-------------------------------------`

  Getter Method

  Signature `LimitFitShaftGrade`

  Returns: |
  Return type: | int

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `LimitFitShaftGrade`

  Parameters: | fitShaftGrade (int) –

  New in version NX9.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## LineBetweenArrows

`DimensionStyleBuilder.``LineBetweenArrows`

  Returns or sets the line between arrows.

  A value of True means a line is to be displayed between the arrows

  `-------------------------------------`

  Getter Method

  Signature `LineBetweenArrows`

  Returns: |
  Return type: | bool

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `LineBetweenArrows`

  Parameters: | lineBetweenArrows (bool) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## LowerToleranceDegrees

`DimensionStyleBuilder.``LowerToleranceDegrees`

  Returns or sets the lower angular tolerance in degrees

  `-------------------------------------`

  Getter Method

  Signature `LowerToleranceDegrees`

  Returns: |
  Return type: | float

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `LowerToleranceDegrees`

  Parameters: | lowerToleranceDegrees (float) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## LowerToleranceEnglish

`DimensionStyleBuilder.``LowerToleranceEnglish`

  Returns or sets the lower english tolerance

  `-------------------------------------`

  Getter Method

  Signature `LowerToleranceEnglish`

  Returns: |
  Return type: | float

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `LowerToleranceEnglish`

  Parameters: | lowerToleranceEnglish (float) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## LowerToleranceMetric

`DimensionStyleBuilder.``LowerToleranceMetric`

  Returns or sets the lower metric tolerance

  `-------------------------------------`

  Getter Method

  Signature `LowerToleranceMetric`

  Returns: |
  Return type: | float

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `LowerToleranceMetric`

  Parameters: | lowerToleranceMetric (float) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## NarrowArrowType

`DimensionStyleBuilder.``NarrowArrowType`

  Returns or sets the narrow dimension arrowhead type which is used when there is no space for normal arrowheads

  `-------------------------------------`

  Getter Method

  Signature `NarrowArrowType`

  Returns: |
  Return type: | `NXOpen.Annotations.ArrowheadType`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `NarrowArrowType`

  Parameters: | narrowArrowType (`NXOpen.Annotations.ArrowheadType`) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## NarrowDisplayType

`DimensionStyleBuilder.``NarrowDisplayType`

  Returns or sets the display type for narrow dimensions

  `-------------------------------------`

  Getter Method

  Signature `NarrowDisplayType`

  Returns: |
  Return type: | `NXOpen.Annotations.NarrowDisplayOption`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `NarrowDisplayType`

  Parameters: | displayType (`NXOpen.Annotations.NarrowDisplayOption`) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## NarrowLeaderAngle

`DimensionStyleBuilder.``NarrowLeaderAngle`

  Returns or sets the narrow dimension leader angle

  `-------------------------------------`

  Getter Method

  Signature `NarrowLeaderAngle`

  Returns: |
  Return type: | float

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `NarrowLeaderAngle`

  Parameters: | narrowLeaderAngle (float) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## NarrowTextOffset

`DimensionStyleBuilder.``NarrowTextOffset`

  Returns or sets the narrow dimension text offset

  `-------------------------------------`

  Getter Method

  Signature `NarrowTextOffset`

  Returns: |
  Return type: | float

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `NarrowTextOffset`

  Parameters: | narrowTextOffset (float) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## NarrowTextOrientation

`DimensionStyleBuilder.``NarrowTextOrientation`

  Returns or sets the narrow dimension text orientation

  `-------------------------------------`

  Getter Method

  Signature `NarrowTextOrientation`

  Returns: |
  Return type: | `NXOpen.Annotations.NarrowTextOrientation`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `NarrowTextOrientation`

  Parameters: | narrowTextOrientation (`NXOpen.Annotations.NarrowTextOrientation`) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## Orientation

`DimensionStyleBuilder.``Orientation`

  Returns or sets the dimension text orientation

  `-------------------------------------`

  Getter Method

  Signature `Orientation`

  Returns: |
  Return type: | `NXOpen.Annotations.TextOrientation`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `Orientation`

  Parameters: | orientation (`NXOpen.Annotations.TextOrientation`) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## OverrideDimensionText

`DimensionStyleBuilder.``OverrideDimensionText`

  Returns or sets the override dimension text

  `-------------------------------------`

  Getter Method

  Signature `OverrideDimensionText`

  Returns: |
  Return type: | bool

  New in version NX10.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `OverrideDimensionText`

  Parameters: | overrideDimensionText (bool) –

  New in version NX10.0.0.

  License requirements: None.

## PrefixSuffixReference

`DimensionStyleBuilder.``PrefixSuffixReference`

  Returns or sets the flag indicating whether prefix suffix reference toggle is turned on or not

  `-------------------------------------`

  Getter Method

  Signature `PrefixSuffixReference`

  Returns: |
  Return type: | bool

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `PrefixSuffixReference`

  Parameters: | prefixSuffixReference (bool) –

  New in version NX8.5.0.

  License requirements: None.

## PrimaryDimensionFractionDenominator

`DimensionStyleBuilder.``PrimaryDimensionFractionDenominator`

  Returns or sets the primary dimension fractional denominator

  `-------------------------------------`

  Getter Method

  Signature `PrimaryDimensionFractionDenominator`

  Returns: |
  Return type: | `NXOpen.Annotations.FractionDenominatorFormat`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `PrimaryDimensionFractionDenominator`

  Parameters: | primaryDimensionFractionDenominator (`NXOpen.Annotations.FractionDenominatorFormat`) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## ReferenceDimension

`DimensionStyleBuilder.``ReferenceDimension`

  Returns or sets the reference dimension flag

  `-------------------------------------`

  Getter Method

  Signature `ReferenceDimension`

  Returns: |
  Return type: | bool

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ReferenceDimension`

  Parameters: | referenceDimension (bool) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## ReferenceDimensionPrefix

`DimensionStyleBuilder.``ReferenceDimensionPrefix`

  Returns or sets the prefix characters for reference dimension

  `-------------------------------------`

  Getter Method

  Signature `ReferenceDimensionPrefix`

  Returns: |
  Return type: | str

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ReferenceDimensionPrefix`

  Parameters: | prefix (str) –

  New in version NX8.5.0.

  License requirements: None.

## ReferenceDimensionSuffix

`DimensionStyleBuilder.``ReferenceDimensionSuffix`

  Returns or sets the suffix characters for reference dimension

  `-------------------------------------`

  Getter Method

  Signature `ReferenceDimensionSuffix`

  Returns: |
  Return type: | str

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ReferenceDimensionSuffix`

  Parameters: | suffix (str) –

  New in version NX8.5.0.

  License requirements: None.

## ReverseArrowDirection

`DimensionStyleBuilder.``ReverseArrowDirection`

  Returns or sets the reverse arrow direction flag

  `-------------------------------------`

  Getter Method

  Signature `ReverseArrowDirection`

  Returns: |
  Return type: | bool

  New in version NX8.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ReverseArrowDirection`

  Parameters: | reverseArrowDirection (bool) –

  New in version NX8.0.0.

  License requirements: nx_ship_drafting (“Ship Drafting”) OR drafting (“DRAFTING”)

## TextAngle

`DimensionStyleBuilder.``TextAngle`

  Returns or sets the dimension text angle

  `-------------------------------------`

  Getter Method

  Signature `TextAngle`

  Returns: |
  Return type: | float

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `TextAngle`

  Parameters: | textAngle (float) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## TextArrowPlacement

`DimensionStyleBuilder.``TextArrowPlacement`

  Returns or sets the text arrow placement.

  This specifies manual or automatic placement and display of arrows in or out

  `-------------------------------------`

  Getter Method

  Signature `TextArrowPlacement`

  Returns: |
  Return type: | `NXOpen.Annotations.TextPlacement`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `TextArrowPlacement`

  Parameters: | textArrowPlacement (`NXOpen.Annotations.TextPlacement`) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## TextCentered

`DimensionStyleBuilder.``TextCentered`

  Returns or sets the dimension text centered option

  `-------------------------------------`

  Getter Method

  Signature `TextCentered`

  Returns: |
  Return type: | bool

  New in version NX11.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `TextCentered`

  Parameters: | textCentered (bool) –

  New in version NX11.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## TextPosition

`DimensionStyleBuilder.``TextPosition`

  Returns or sets the dimension text position representing above or after stub

  `-------------------------------------`

  Getter Method

  Signature `TextPosition`

  Returns: |
  Return type: | `NXOpen.Annotations.TextPosition`

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `TextPosition`

  Parameters: | position (`NXOpen.Annotations.TextPosition`) –

  New in version NX9.0.0.

  License requirements: None.

## ToleranceType

`DimensionStyleBuilder.``ToleranceType`

  Returns or sets the dimension tolerance type

  `-------------------------------------`

  Getter Method

  Signature `ToleranceType`

  Returns: |
  Return type: | `NXOpen.Annotations.ToleranceType`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ToleranceType`

  Parameters: | dimToleranceType (`NXOpen.Annotations.ToleranceType`) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## ToleranceValuePrecision

`DimensionStyleBuilder.``ToleranceValuePrecision`

  Returns or sets the tolerance value precision

  `-------------------------------------`

  Getter Method

  Signature `ToleranceValuePrecision`

  Returns: |
  Return type: | int

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ToleranceValuePrecision`

  Parameters: | toleranceValuePrecision (int) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## TrimDimLine

`DimensionStyleBuilder.``TrimDimLine`

  Returns or sets the trim dimension line flag.

  A value of True means the dimension line will be trimmed when the text crosses both extension lines

  `-------------------------------------`

  Getter Method

  Signature `TrimDimLine`

  Returns: |
  Return type: | `NXOpen.Annotations.TrimDimensionLineStyle`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `TrimDimLine`

  Parameters: | trimDimLine (`NXOpen.Annotations.TrimDimensionLineStyle`) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## TrueLengthText

`DimensionStyleBuilder.``TrueLengthText`

  Returns or sets the true length dimension text

  `-------------------------------------`

  Getter Method

  Signature `TrueLengthText`

  Returns: |
  Return type: | str

  New in version NX8.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `TrueLengthText`

  Parameters: | trueLengthText (str) –

  New in version NX8.0.0.

  License requirements: nx_ship_drafting (“Ship Drafting”) OR drafting (“DRAFTING”)

## TrueLengthTextPosition

`DimensionStyleBuilder.``TrueLengthTextPosition`

  Returns or sets the true length text position

  `-------------------------------------`

  Getter Method

  Signature `TrueLengthTextPosition`

  Returns: |
  Return type: | `NXOpen.Annotations.TrueLengthTextPosition`

  New in version NX8.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `TrueLengthTextPosition`

  Parameters: | trueLengthTextPosition (`NXOpen.Annotations.TrueLengthTextPosition`) –

  New in version NX8.0.0.

  License requirements: nx_ship_drafting (“Ship Drafting”) OR drafting (“DRAFTING”)

## UpperToleranceDegrees

`DimensionStyleBuilder.``UpperToleranceDegrees`

  Returns or sets the upper angular tolerance in degrees

  `-------------------------------------`

  Getter Method

  Signature `UpperToleranceDegrees`

  Returns: |
  Return type: | float

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `UpperToleranceDegrees`

  Parameters: | upperToleranceDegrees (float) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## UpperToleranceEnglish

`DimensionStyleBuilder.``UpperToleranceEnglish`

  Returns or sets the upper english tolerance

  `-------------------------------------`

  Getter Method

  Signature `UpperToleranceEnglish`

  Returns: |
  Return type: | float

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `UpperToleranceEnglish`

  Parameters: | upperToleranceEnglish (float) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

## UpperToleranceMetric

`DimensionStyleBuilder.``UpperToleranceMetric`

  Returns or sets the upper metric tolerance

  `-------------------------------------`

  Getter Method

  Signature `UpperToleranceMetric`

  Returns: |
  Return type: | float

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `UpperToleranceMetric`

  Parameters: | upperToleranceMetric (float) –

  New in version NX6.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)

# Method Detail

## GetOverriddenDimensionText

`DimensionStyleBuilder.``GetOverriddenDimensionText`

  Returns the overridden dimension text value

  Signature `GetOverriddenDimensionText()`

  Returns: |
  Return type: | list of str

  New in version NX10.0.0.

  License requirements: None.

## SetOverriddenDimensionText

`DimensionStyleBuilder.``SetOverriddenDimensionText`

  Sets the overridden dimension text value

  Signature `SetOverriddenDimensionText(customizedText)`

  Parameters: | customizedText (list of str) –

  New in version NX10.0.0.

  License requirements: None.

## Validate

`DimensionStyleBuilder.``Validate`

  Validate whether the inputs to the component are sufficient for commit to be called.

  If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

  Signature `Validate()`

  Returns: | Was self validation successful
  Return type: | bool

  New in version NX3.0.1.

  License requirements: None.