DimensionPreferences Class

class NXOpen.Annotations.DimensionPreferences

Bases: NXOpen.TransientObject

Represents dimension preferences

New in version NX4.0.0.

Properties

Property Description
ArrowDisplay Returns or sets the arrow display
BaselineOffset Returns or sets the offset between dimension lines of baseline dimensions
ChainOffset Returns or sets the offset between dimension lines of chain dimensions
DisplayFitParentheses Returns or sets the flag indicating whether to display parentheses for fit tolerance.
DisplayFitSeparator Returns or sets the flag indicating whether to display separator for fit tolerance of assembly dimensions.
DisplayLineBetweenArrows Returns or sets the flag indicating whether to display line between arrows
DualDimensionFractionDenominator Returns or sets the dual dimension and tolerance fraction denominator
ExtensionLineDisplay Returns or sets the extension line display
IsInspectionDimension Returns or sets the flag indicating whether the dimension is an inspection dimension
IsReferenceDimension Returns or sets the flag indicating whether the dimension is a reference dimension
LimitFitAnsiHoleType Returns or sets the tolerance 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 tolerance 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 tolerance limit fit display style
LimitFitGrade Returns or sets the tolerance limit fit grade
LimitFitShaftDeviation Returns or sets the shaft deviation for fit tolerance
LimitFitShaftGrade Returns or sets the shaft grade for fit tolerance
PrefixSuffixReference Returns or sets the flag indicating whether prefix suffix reference toggle is turned on or not
PrimaryDimensionFractionDenominator Returns or sets the primary dimension and tolerance fraction denominator
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 flag indicating whether the Reverse Arrow Direction is set on dimension or not
TextOrienationAngle Returns or sets the angle if text orientation is NXOpen.Annotations.TextOrientation.ByAngle
TextOrientation Returns or sets the text orientation
TextPlacement Returns or sets the dimension text placement
TextPosition Returns or sets the text position representing above or after stub
TrimDimensionLineStyle Returns or sets the trim dimension line style
TrueLengthText Returns or sets the flag indicating true-length text for the dimension
TrueLengthTextPosition Returns or sets the True Length Text Position
ZeroToleranceDisplayStyle Returns or sets the zero tolerance display style

Methods

Method Description
Dispose Frees the object from memory.
GetChamferDimensionPreferences Returns the chamfer dimension preferences
GetDiameterRadiusPreferences Returns the diameter and radius preferences
GetNarrowDimensionPreferences Returns the narrow dimension preferences
GetOrdinateDimensionPreferences Returns the ordinate dimension preferences
GetUnitsFormatPreferences Returns the units and format preferences
SetChamferDimensionPreferences Sets the chamfer dimension preferences
SetDiameterRadiusPreferences Sets the diameter and radius preferences
SetNarrowDimensionPreferences Sets the narrow dimension preferences
SetOrdinateDimensionPreferences Sets the ordinate dimension preferences
SetUnitsFormatPreferences Sets the units and format preferences

Property Detail

ArrowDisplay

DimensionPreferences.ArrowDisplay

Returns or sets the arrow display

-------------------------------------

Getter Method

Signature ArrowDisplay

Returns:Arrow display
Return type:NXOpen.Annotations.ArrowDisplay

New in version NX4.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ArrowDisplay

Parameters:display (NXOpen.Annotations.ArrowDisplay) – New arrow display

New in version NX4.0.0.

License requirements: None.

BaselineOffset

DimensionPreferences.BaselineOffset

Returns or sets the offset between dimension lines of baseline dimensions

-------------------------------------

Getter Method

Signature BaselineOffset

Returns:Baseline offset
Return type:float

New in version NX4.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature BaselineOffset

Parameters:baselineOffset (float) – New baseline offset

New in version NX4.0.0.

License requirements: None.

ChainOffset

DimensionPreferences.ChainOffset

Returns or sets the offset between dimension lines of chain dimensions

-------------------------------------

Getter Method

Signature ChainOffset

Returns:Chain offset
Return type:float

New in version NX4.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ChainOffset

Parameters:chainOffset (float) – New chain offset

New in version NX4.0.0.

License requirements: None.

DisplayFitParentheses

DimensionPreferences.DisplayFitParentheses

Returns or sets the flag indicating whether to display parentheses for fit tolerance.

If the value is true, the tolerance text will have parentheses shown on text render. Otherwise, a blank space will be used.

-------------------------------------

Getter Method

Signature DisplayFitParentheses

Returns:Flag indicating whether to display assembly tolerance parentheses
Return type:bool

New in version NX9.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature DisplayFitParentheses

Parameters:displayFitParentheses (bool) – Flag indicating whether to display assembly tolerance parentheses

New in version NX9.0.0.

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

DisplayFitSeparator

DimensionPreferences.DisplayFitSeparator

Returns or sets the flag indicating whether to display separator for fit tolerance of assembly dimensions.

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

-------------------------------------

Getter Method

Signature DisplayFitSeparator

Returns:Flag indicating whether to display assembly tolerance separator
Return type:bool

New in version NX9.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature DisplayFitSeparator

Parameters:displayFitSeparator (bool) – Flag indicating whether to display assembly tolerance separator

New in version NX9.0.0.

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

DisplayLineBetweenArrows

DimensionPreferences.DisplayLineBetweenArrows

Returns or sets the flag indicating whether to display line between arrows

-------------------------------------

Getter Method

Signature DisplayLineBetweenArrows

Returns:Flag indicating whether to display line between arrows
Return type:bool

New in version NX4.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature DisplayLineBetweenArrows

Parameters:displayLineBetweenArrows (bool) – Flag indicating whether to display line between arrows

New in version NX4.0.0.

License requirements: None.

DualDimensionFractionDenominator

DimensionPreferences.DualDimensionFractionDenominator

Returns or sets the dual dimension and tolerance fraction denominator

-------------------------------------

Getter Method

Signature DualDimensionFractionDenominator

Returns:Dual dimension and tolerance fraction denominator
Return type:NXOpen.Annotations.FractionDenominatorFormat

New in version NX4.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature DualDimensionFractionDenominator

Parameters:fractionDenominator (NXOpen.Annotations.FractionDenominatorFormat) – New dual dimension and tolerance fraction denominator

New in version NX4.0.0.

License requirements: None.

ExtensionLineDisplay

DimensionPreferences.ExtensionLineDisplay

Returns or sets the extension line display

-------------------------------------

Getter Method

Signature ExtensionLineDisplay

Returns:Extension line display
Return type:NXOpen.Annotations.ExtensionLineDisplay

New in version NX4.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ExtensionLineDisplay

Parameters:display (NXOpen.Annotations.ExtensionLineDisplay) – New extension line display

New in version NX4.0.0.

License requirements: None.

IsInspectionDimension

DimensionPreferences.IsInspectionDimension

Returns or sets the flag indicating whether the dimension is an inspection dimension

-------------------------------------

Getter Method

Signature IsInspectionDimension

Returns:Flag indicating whether dimension is inspection dimension
Return type:bool

New in version NX4.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature IsInspectionDimension

Parameters:inspectionDimension (bool) – Flag indicating whether dimension is inspection dimension

New in version NX4.0.0.

License requirements: None.

IsReferenceDimension

DimensionPreferences.IsReferenceDimension

Returns or sets the flag indicating whether the dimension is a reference dimension

-------------------------------------

Getter Method

Signature IsReferenceDimension

Returns:Flag indicating whether dimension is reference dimension
Return type:bool

New in version NX4.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature IsReferenceDimension

Parameters:referenceDimension (bool) – Flag indicating whether dimension is reference dimension

New in version NX4.0.0.

License requirements: None.

LimitFitAnsiHoleType

DimensionPreferences.LimitFitAnsiHoleType

Returns or sets the tolerance limit fit ANSI hole type

-------------------------------------

Getter Method

Signature LimitFitAnsiHoleType

Returns:Limit fit tolerance ANSI hole type
Return type:NXOpen.Annotations.FitAnsiHoleType

New in version NX7.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature LimitFitAnsiHoleType

Parameters:fitHoleType (NXOpen.Annotations.FitAnsiHoleType) – New limit tolerance ANSI hole type

New in version NX7.5.0.

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

LimitFitAssemblyDisplayStyle

DimensionPreferences.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:Limit fit assembly display style
Return type:NXOpen.Annotations.FitAssemblyDisplayStyle

New in version NX9.0.0.

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

License requirements: None.

-------------------------------------

Setter Method

Signature LimitFitAssemblyDisplayStyle

Parameters:fitAssemblyDisplayStyle (NXOpen.Annotations.FitAssemblyDisplayStyle) – New limit assembly display style

New in version NX9.0.0.

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

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

LimitFitAssemblyNewDisplayStyle

DimensionPreferences.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:Limit fit assembly display style
Return type:NXOpen.Annotations.FitAssemblyNewDisplayStyle

New in version NX11.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature LimitFitAssemblyNewDisplayStyle

Parameters:fitAssemblyDisplayStyle (NXOpen.Annotations.FitAssemblyNewDisplayStyle) – New limit assembly display style

New in version NX11.0.0.

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

LimitFitDeviation

DimensionPreferences.LimitFitDeviation

Returns or sets the tolerance limit fit deviation

-------------------------------------

Getter Method

Signature LimitFitDeviation

Returns:Limit fit deviation
Return type:str

New in version NX7.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature LimitFitDeviation

Parameters:fitDeviation (str) – New limit fit deviation

New in version NX7.5.0.

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

LimitFitDisplayAlignment

DimensionPreferences.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:Limit fit display alignment
Return type:NXOpen.Annotations.FitDisplayAlignment

New in version NX11.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature LimitFitDisplayAlignment

Parameters:fitDisplayAlignment (NXOpen.Annotations.FitDisplayAlignment) – New limit fit display alignment

New in version NX11.0.0.

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

LimitFitDisplaySplitByDimline

DimensionPreferences.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:Limit fit display when split by dimension line
Return type:NXOpen.Annotations.FitDisplaySplitByDimline

New in version NX11.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature LimitFitDisplaySplitByDimline

Parameters:fitDisplaySplitByDimline (NXOpen.Annotations.FitDisplaySplitByDimline) – New limit fit display when split by dimension line

New in version NX11.0.0.

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

LimitFitDisplayStyle

DimensionPreferences.LimitFitDisplayStyle

Returns or sets the tolerance limit fit display style

-------------------------------------

Getter Method

Signature LimitFitDisplayStyle

Returns:Limit fit tolerance display style
Return type:NXOpen.Annotations.FitDisplayStyle

New in version NX7.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature LimitFitDisplayStyle

Parameters:fitDisplayStyle (NXOpen.Annotations.FitDisplayStyle) – New limit tolerance display style

New in version NX7.5.0.

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

LimitFitGrade

DimensionPreferences.LimitFitGrade

Returns or sets the tolerance limit fit grade

-------------------------------------

Getter Method

Signature LimitFitGrade

Returns:Limit fit grade
Return type:int

New in version NX7.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature LimitFitGrade

Parameters:fitGrade (int) – New Limit fit grade

New in version NX7.5.0.

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

LimitFitShaftDeviation

DimensionPreferences.LimitFitShaftDeviation

Returns or sets the shaft deviation for fit tolerance

-------------------------------------

Getter Method

Signature LimitFitShaftDeviation

Returns:Shaft deviation for fit tolerance
Return type:str

New in version NX9.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature LimitFitShaftDeviation

Parameters:fitShaftDeviation (str) – New shaft deviation for fit tolerance

New in version NX9.0.0.

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

LimitFitShaftGrade

DimensionPreferences.LimitFitShaftGrade

Returns or sets the shaft grade for fit tolerance

-------------------------------------

Getter Method

Signature LimitFitShaftGrade

Returns:Shaft grade for fit tolerance
Return type:int

New in version NX9.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature LimitFitShaftGrade

Parameters:fitShaftGrade (int) – New shaft grade for fit tolerance

New in version NX9.0.0.

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

PrefixSuffixReference

DimensionPreferences.PrefixSuffixReference

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

-------------------------------------

Getter Method

Signature PrefixSuffixReference

Returns:flag for prefix suffix reference
Return type:bool

New in version NX8.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature PrefixSuffixReference

Parameters:prefixSuffixReference (bool) – flag for prefix suffix reference

New in version NX8.5.0.

License requirements: None.

PrimaryDimensionFractionDenominator

DimensionPreferences.PrimaryDimensionFractionDenominator

Returns or sets the primary dimension and tolerance fraction denominator

-------------------------------------

Getter Method

Signature PrimaryDimensionFractionDenominator

Returns:Primary dimension and tolerance fraction denominator
Return type:NXOpen.Annotations.FractionDenominatorFormat

New in version NX4.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature PrimaryDimensionFractionDenominator

Parameters:fractionDenominator (NXOpen.Annotations.FractionDenominatorFormat) – New primary dimension and tolerance fraction denominator

New in version NX4.0.0.

License requirements: None.

ReferenceDimensionPrefix

DimensionPreferences.ReferenceDimensionPrefix

Returns or sets the prefix characters for reference dimension

-------------------------------------

Getter Method

Signature ReferenceDimensionPrefix

Returns:String indicating prefix characters for reference dimension
Return type:str

New in version NX8.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ReferenceDimensionPrefix

Parameters:prefix (str) – New prefix characters for reference dimension

New in version NX8.5.0.

License requirements: None.

ReferenceDimensionSuffix

DimensionPreferences.ReferenceDimensionSuffix

Returns or sets the suffix characters for reference dimension

-------------------------------------

Getter Method

Signature ReferenceDimensionSuffix

Returns:String indicating suffix characters for reference dimension
Return type:str

New in version NX8.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ReferenceDimensionSuffix

Parameters:suffix (str) – New suffix characters for reference dimension

New in version NX8.5.0.

License requirements: None.

ReverseArrowDirection

DimensionPreferences.ReverseArrowDirection

Returns or sets the flag indicating whether the Reverse Arrow Direction is set on dimension or not

-------------------------------------

Getter Method

Signature ReverseArrowDirection

Returns:Flag for reverse arrow direction
Return type:bool

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ReverseArrowDirection

Parameters:reverseArrowDirection (bool) – New flag for reverse arrow direction

New in version NX8.0.0.

License requirements: None.

TextOrienationAngle

DimensionPreferences.TextOrienationAngle

Returns or sets the angle if text orientation is NXOpen.Annotations.TextOrientation.ByAngle

-------------------------------------

Getter Method

Signature TextOrienationAngle

Returns:Dimension text orientation angle
Return type:float

New in version NX4.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature TextOrienationAngle

Parameters:textOrientationAngle (float) – New dimension text orienation angle

New in version NX4.0.0.

License requirements: None.

TextOrientation

DimensionPreferences.TextOrientation

Returns or sets the text orientation

-------------------------------------

Getter Method

Signature TextOrientation

Returns:Dimension text orientation
Return type:NXOpen.Annotations.TextOrientation

New in version NX4.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature TextOrientation

Parameters:orientation (NXOpen.Annotations.TextOrientation) – New dimension text orientation

New in version NX4.0.0.

License requirements: None.

TextPlacement

DimensionPreferences.TextPlacement

Returns or sets the dimension text placement

-------------------------------------

Getter Method

Signature TextPlacement

Returns:Dimension text placement
Return type:NXOpen.Annotations.TextPlacement

New in version NX4.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature TextPlacement

Parameters:placement (NXOpen.Annotations.TextPlacement) – New dimension text placement

New in version NX4.0.0.

License requirements: None.

TextPosition

DimensionPreferences.TextPosition

Returns or sets the text position representing above or after stub

-------------------------------------

Getter Method

Signature TextPosition

Returns:Dimension text position
Return type:NXOpen.Annotations.TextPosition

New in version NX9.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature TextPosition

Parameters:textPosition (NXOpen.Annotations.TextPosition) – New dimension text position

New in version NX9.0.0.

License requirements: None.

TrimDimensionLineStyle

DimensionPreferences.TrimDimensionLineStyle

Returns or sets the trim dimension line style

-------------------------------------

Getter Method

Signature TrimDimensionLineStyle

Returns:Whether Dimension line will be trimmed when text crosses both extension lines
Return type:NXOpen.Annotations.TrimDimensionLineStyle

New in version NX4.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature TrimDimensionLineStyle

Parameters:trimDimLine (NXOpen.Annotations.TrimDimensionLineStyle) – Whether Dimension line will be trimmed when text crosses both extension lines

New in version NX4.0.0.

License requirements: None.

TrueLengthText

DimensionPreferences.TrueLengthText

Returns or sets the flag indicating true-length text for the dimension

-------------------------------------

Getter Method

Signature TrueLengthText

Returns:String indicating true length text for dimension
Return type:str

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature TrueLengthText

Parameters:trueLengthText (str) – String indicating true length text for dimension

New in version NX8.0.0.

License requirements: None.

TrueLengthTextPosition

DimensionPreferences.TrueLengthTextPosition

Returns or sets the True Length Text Position

-------------------------------------

Getter Method

Signature TrueLengthTextPosition

Returns:True length Text position
Return type:NXOpen.Annotations.TrueLengthTextPosition

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature TrueLengthTextPosition

Parameters:trueLengthTextPosition (NXOpen.Annotations.TrueLengthTextPosition) – New True length Text position

New in version NX8.0.0.

License requirements: None.

ZeroToleranceDisplayStyle

DimensionPreferences.ZeroToleranceDisplayStyle

Returns or sets the zero tolerance display style

-------------------------------------

Getter Method

Signature ZeroToleranceDisplayStyle

Returns:Zero tolerance display style
Return type:NXOpen.Annotations.ZeroToleranceDisplayStyle

New in version NX5.0.0.

Deprecated since version NX7.5.0: Use NXOpen.Annotations.LinearTolerance.ZeroToleranceDisplayStyle() for linear dimensions and NXOpen.Annotations.AngularTolerance.ZeroToleranceDisplayStyle() for angular dimensions instead.

License requirements: None.

-------------------------------------

Setter Method

Signature ZeroToleranceDisplayStyle

Parameters:zeroDisplayStyle (NXOpen.Annotations.ZeroToleranceDisplayStyle) –

New in version NX5.0.0.

Deprecated since version NX7.5.0: Use NXOpen.Annotations.LinearTolerance.SetZeroToleranceDisplayStyle() for linear dimensions and NXOpen.Annotations.AngularTolerance.SetZeroToleranceDisplayStyle() for angular dimensions instead.

License requirements: None.

Method Detail

Dispose

DimensionPreferences.Dispose

Frees the object from memory.

After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.

Signature Dispose()

New in version NX4.0.0.

License requirements: None.

GetChamferDimensionPreferences

DimensionPreferences.GetChamferDimensionPreferences

Returns the chamfer dimension preferences

Signature GetChamferDimensionPreferences()

Returns:Chamfer dimension preferences
Return type:NXOpen.Annotations.ChamferDimensionPreferences

New in version NX4.0.0.

License requirements: None.

GetDiameterRadiusPreferences

DimensionPreferences.GetDiameterRadiusPreferences

Returns the diameter and radius preferences

Signature GetDiameterRadiusPreferences()

Returns:Diameter and Radius preferences
Return type:NXOpen.Annotations.DiameterRadiusPreferences

New in version NX4.0.0.

License requirements: None.

GetNarrowDimensionPreferences

DimensionPreferences.GetNarrowDimensionPreferences

Returns the narrow dimension preferences

Signature GetNarrowDimensionPreferences()

Returns:Narrow dimension preferences
Return type:NXOpen.Annotations.NarrowDimensionPreferences

New in version NX4.0.0.

License requirements: None.

GetOrdinateDimensionPreferences

DimensionPreferences.GetOrdinateDimensionPreferences

Returns the ordinate dimension preferences

Signature GetOrdinateDimensionPreferences()

Returns:Ordinate dimension preferences
Return type:NXOpen.Annotations.OrdinateDimensionPreferences

New in version NX4.0.0.

License requirements: None.

GetUnitsFormatPreferences

DimensionPreferences.GetUnitsFormatPreferences

Returns the units and format preferences

Signature GetUnitsFormatPreferences()

Returns:Units and Format preferences
Return type:NXOpen.Annotations.UnitsFormatPreferences

New in version NX4.0.0.

License requirements: None.

SetChamferDimensionPreferences

DimensionPreferences.SetChamferDimensionPreferences

Sets the chamfer dimension preferences

Signature SetChamferDimensionPreferences(preferences)

Parameters:preferences (NXOpen.Annotations.ChamferDimensionPreferences) – New chamfer dimension preferences

New in version NX4.0.0.

License requirements: None.

SetDiameterRadiusPreferences

DimensionPreferences.SetDiameterRadiusPreferences

Sets the diameter and radius preferences

Signature SetDiameterRadiusPreferences(preferences)

Parameters:preferences (NXOpen.Annotations.DiameterRadiusPreferences) – New diameter and radius preferences

New in version NX4.0.0.

License requirements: None.

SetNarrowDimensionPreferences

DimensionPreferences.SetNarrowDimensionPreferences

Sets the narrow dimension preferences

Signature SetNarrowDimensionPreferences(preferences)

Parameters:preferences (NXOpen.Annotations.NarrowDimensionPreferences) – New narrow dimension preferences

New in version NX4.0.0.

License requirements: None.

SetOrdinateDimensionPreferences

DimensionPreferences.SetOrdinateDimensionPreferences

Sets the ordinate dimension preferences

Signature SetOrdinateDimensionPreferences(preferences)

Parameters:preferences (NXOpen.Annotations.OrdinateDimensionPreferences) – New ordinate dimension preferences

New in version NX4.0.0.

License requirements: None.

SetUnitsFormatPreferences

DimensionPreferences.SetUnitsFormatPreferences

Sets the units and format preferences

Signature SetUnitsFormatPreferences(preferences)

Parameters:preferences (NXOpen.Annotations.UnitsFormatPreferences) – New Units and Format preferences

New in version NX4.0.0.

License requirements: None.