LetteringStyleBuilder Class¶
-
class
NXOpen.Annotations.LetteringStyleBuilder¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderRepresents a
NXOpen.Annotations.LetteringStyleBuilder.This class queries and sets lettering preferences when creating or editing annotations.
New in version NX6.0.0.
Properties¶
| Property | Description |
|---|---|
| AlignPosition | Returns or sets the alignment position |
| Angle | Returns or sets the angle for general text |
| AppendedNxTextCharacterSpaceFactor | Returns or sets the appended NX text character space factor. |
| AppendedStandardTextCharacterSpaceFactor | Returns or sets the appended Standard text character space factor. |
| AppendedTextAspectRatio | Returns or sets the appended text aspect ratio. |
| AppendedTextCharSpaceFactor | Returns or sets the appended text character space factor. |
| AppendedTextColor | Returns or sets the appended text color |
| AppendedTextFont | Returns or sets the appended text font |
| AppendedTextItalicized | Returns or sets the appended text italic status |
| AppendedTextLineSpaceFactor | Returns or sets the appended text line space factor |
| AppendedTextLineWidth | Returns or sets the appended text line width. |
| AppendedTextSize | Returns or sets the appended text character size |
| AppendedTextSpaceFactor | Returns or sets the appended text space factor. |
| AppendedTextSymbolAspectRatio | Returns or sets the symbol aspect ratio for appended text (only available for symbols when using standard font). |
| DimLineSpaceFactor | Returns or sets the dimension line space factor. |
| DimensionNxTextCharacterSpaceFactor | Returns or sets the dimension NX text character space factor. |
| DimensionStandardTextCharacterSpaceFactor | Returns or sets the dimension Standard text character space factor. |
| DimensionTextAspectRatio | Returns or sets the dimension text aspect ratio. |
| DimensionTextCharSpaceFactor | Returns or sets the dimension text space factor. |
| DimensionTextColor | Returns or sets the dimension text color |
| DimensionTextFont | Returns or sets the dimension text font |
| DimensionTextItalicized | Returns or sets the dimension text italic status |
| DimensionTextLineSpaceFactor | Returns or sets the dimension text line space factor |
| DimensionTextLineWidth | Returns or sets the dimension text line width. |
| DimensionTextSize | Returns or sets the dimension text character size |
| DimensionTextSymbolAspectRatio | Returns or sets the symbol aspect ratio for dimension text (only available for symbols when using standard font). |
| GdtFrameHeightFactor | Returns or sets the GD and T frame height factor |
| GeneralNxTextCharacterSpaceFactor | Returns or sets the general NX text character space factor. |
| GeneralStandardTextCharacterSpaceFactor | Returns or sets the general Standard text character space factor. |
| GeneralTextAspectRatio | Returns or sets the general text aspect ratio. |
| GeneralTextCharSpaceFactor | Returns or sets the general text character space factor. |
| GeneralTextColor | Returns or sets the general text color |
| GeneralTextFont | Returns or sets the general text font |
| GeneralTextItalicized | Returns or sets the general text italic status |
| GeneralTextLineSpaceFactor | Returns or sets the general text line space factor |
| GeneralTextLineWidth | Returns or sets the general text line width. |
| GeneralTextSize | Returns or sets the general text character size |
| GeneralTextSymbolAspectRatio | Returns or sets the symbol aspect ratio for general text (only available for symbols when using standard font). |
| HorizontalTextJustification | Returns or sets the horizontal text justification |
| StackAboveSpaceFactor | Returns or sets the stack above space factor. |
| StackAutospace | Returns or sets the stack autospace setting. |
| StackBelowSpaceFactor | Returns or sets the stack below space factor. |
| StackHorizontalAlignment | Returns or sets the stack horizontal alignment |
| StackInheritAssociatedObjects | Returns or sets the stack inherit associated objects setting. |
| StackLeftSpaceFactor | Returns or sets the stack left space factor. |
| StackRightSpaceFactor | Returns or sets the stack right space factor. |
| StackVerticalAlignment | Returns or sets the stack vertical alignment |
| SymbolFontFile | Returns or sets the symbol font file setting. |
| Tag | Returns the Tag for this object. |
| ToleranceNxTextCharacterSpaceFactor | Returns or sets the tolerance NX text character space factor. |
| ToleranceStandardTextCharacterSpaceFactor | Returns or sets the tolerance Standard text character space factor. |
| ToleranceTextAspectRatio | Returns or sets the tolerance text aspect ratio. |
| ToleranceTextCharSpaceFactor | Returns or sets the tolerance text character space factor. |
| ToleranceTextColor | Returns or sets the tolerance text color |
| ToleranceTextFont | Returns or sets the tolerance text font |
| ToleranceTextItalicized | Returns or sets the tolerance text italic status |
| ToleranceTextLineSpaceFactor | Returns or sets the tolerance text line space factor |
| ToleranceTextLineWidth | Returns or sets the tolerance text line width. |
| ToleranceTextSize | Returns or sets the tolerance text character size |
| ToleranceTextSpaceFactor | Returns or sets the tolerance text space factor. |
| ToleranceTextSymbolAspectRatio | Returns or sets the symbol aspect ratio for tolerance text (only available for symbols when using standard font). |
| TwoLineToleranceTextSize | Returns or sets the two-line tolerance text character size |
Methods¶
| Method | Description |
|---|---|
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
AlignPosition¶
-
LetteringStyleBuilder.AlignPosition¶ Returns or sets the alignment position
-------------------------------------Getter Method
Signature
AlignPositionReturns: Return type: NXOpen.Annotations.AlignmentPositionNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AlignPositionParameters: alignPosition ( NXOpen.Annotations.AlignmentPosition) –New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
Angle¶
-
LetteringStyleBuilder.Angle¶ Returns or sets the angle for general text
-------------------------------------Getter Method
Signature
AngleReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AngleParameters: angle (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
AppendedNxTextCharacterSpaceFactor¶
-
LetteringStyleBuilder.AppendedNxTextCharacterSpaceFactor¶ Returns or sets the appended NX text character space factor.
This defines the spacing between characters in text as a multiple of the standard character spacing for the NX font. This setting is specific to preferences and object style in create mode.
-------------------------------------Getter Method
Signature
AppendedNxTextCharacterSpaceFactorReturns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AppendedNxTextCharacterSpaceFactorParameters: appendedNXTextCharSpaceFactor (float) – New in version NX9.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
AppendedStandardTextCharacterSpaceFactor¶
-
LetteringStyleBuilder.AppendedStandardTextCharacterSpaceFactor¶ Returns or sets the appended Standard text character space factor.
This defines the spacing between characters in text as a multiple of the standard character spacing for the Standard font. This setting is specific to preferences and object style in create mode.
-------------------------------------Getter Method
Signature
AppendedStandardTextCharacterSpaceFactorReturns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AppendedStandardTextCharacterSpaceFactorParameters: appendedStandardTextCharSpaceFactor (float) – New in version NX9.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
AppendedTextAspectRatio¶
-
LetteringStyleBuilder.AppendedTextAspectRatio¶ Returns or sets the appended text aspect ratio.
This specifies a ratio of length to height which represents the size of character text. This only defines the aspect ratio for text.
LetteringStyleBuilder.AppendedTextSymbolAspectRatio`()controls the aspect ratio of symbol text control sequences.-------------------------------------Getter Method
Signature
AppendedTextAspectRatioReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AppendedTextAspectRatioParameters: appendedTextAspectRatio (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
AppendedTextCharSpaceFactor¶
-
LetteringStyleBuilder.AppendedTextCharSpaceFactor¶ Returns or sets the appended text character space factor.
This defines the spacing between characters in text as a multiple of the standard character spacing for the current font
-------------------------------------Getter Method
Signature
AppendedTextCharSpaceFactorReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AppendedTextCharSpaceFactorParameters: appendedTextCharSpaceFactor (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
AppendedTextColor¶
-
LetteringStyleBuilder.AppendedTextColor¶ Returns or sets the appended text color
-------------------------------------Getter Method
Signature
AppendedTextColorReturns: Return type: Id New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AppendedTextColorParameters: appendedTextColor (Id) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
AppendedTextFont¶
-
LetteringStyleBuilder.AppendedTextFont¶ Returns or sets the appended text font
-------------------------------------Getter Method
Signature
AppendedTextFontReturns: Return type: int New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AppendedTextFontParameters: appendedTextFont (int) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
AppendedTextItalicized¶
-
LetteringStyleBuilder.AppendedTextItalicized¶ Returns or sets the appended text italic status
-------------------------------------Getter Method
Signature
AppendedTextItalicizedReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AppendedTextItalicizedParameters: appendedTextItalicized (bool) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
AppendedTextLineSpaceFactor¶
-
LetteringStyleBuilder.AppendedTextLineSpaceFactor¶ Returns or sets the appended text line space factor
-------------------------------------Getter Method
Signature
AppendedTextLineSpaceFactorReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AppendedTextLineSpaceFactorParameters: appendedTextLineSpaceFactor (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
AppendedTextLineWidth¶
-
LetteringStyleBuilder.AppendedTextLineWidth¶ Returns or sets the appended text line width.
The values for
NXOpen.Annotations.LineWidthwhen using standard font : A value ofNXOpen.Annotations.LineWidth.Thinis equivalent to a value of “Regular” or “Italic” (ifNXOpen.Annotations.LetteringStyleBuilder.AppendedTextItalicized`()is set). Any value other thanNXOpen.Annotations.LineWidth.Thinis equivalent to a value of “Bold” or “Bold Italic” (ifNXOpen.Annotations.LetteringStyleBuilder.AppendedTextItalicized`()is set).-------------------------------------Getter Method
Signature
AppendedTextLineWidthReturns: Return type: NXOpen.Annotations.LineWidthNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AppendedTextLineWidthParameters: appendedTextLineWidth ( NXOpen.Annotations.LineWidth) –New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
AppendedTextSize¶
-
LetteringStyleBuilder.AppendedTextSize¶ Returns or sets the appended text character size
-------------------------------------Getter Method
Signature
AppendedTextSizeReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AppendedTextSizeParameters: appendedTextSize (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
AppendedTextSpaceFactor¶
-
LetteringStyleBuilder.AppendedTextSpaceFactor¶ Returns or sets the appended text space factor.
This controls the spacing between the before appended text and the next piece of dimension text to its right; and the spacing between the after appended text and the next piece of text to its left. The space is equal to the appended text character size multiplied by the space factor
-------------------------------------Getter Method
Signature
AppendedTextSpaceFactorReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AppendedTextSpaceFactorParameters: appendedTextSpaceFactor (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
AppendedTextSymbolAspectRatio¶
-
LetteringStyleBuilder.AppendedTextSymbolAspectRatio¶ Returns or sets the symbol aspect ratio for appended text (only available for symbols when using standard font).
This value controls the aspect ratio of text control sequences such as the diameter symbol (represented by the <O> text control sequence), the counterbore symbol (represented by the <#C> text control sequence), the degree symbol (represented by the <$s> text control sequence), the true position symbol (represented by the <&10> text control sequence), etc.
-------------------------------------Getter Method
Signature
AppendedTextSymbolAspectRatioReturns: Return type: float New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AppendedTextSymbolAspectRatioParameters: appendedTextSymbolAspect (float) – New in version NX11.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
DimLineSpaceFactor¶
-
LetteringStyleBuilder.DimLineSpaceFactor¶ Returns or sets the dimension line space factor.
This controls the spacing between the bottom most piece of text on the dimension and the dimension line. This only applies when the text orientation is text over dimension line. The space is equal to the dimension text character size multiplied by the space factor
-------------------------------------Getter Method
Signature
DimLineSpaceFactorReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DimLineSpaceFactorParameters: dimLineSpaceFactor (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
DimensionNxTextCharacterSpaceFactor¶
-
LetteringStyleBuilder.DimensionNxTextCharacterSpaceFactor¶ Returns or sets the dimension NX text character space factor.
This defines the spacing between characters in text as a multiple of the standard character spacing for the NX font. This setting is specific to preferences and object style in create mode.
-------------------------------------Getter Method
Signature
DimensionNxTextCharacterSpaceFactorReturns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DimensionNxTextCharacterSpaceFactorParameters: dimensionNXTextCharSpaceFactor (float) – New in version NX9.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
DimensionStandardTextCharacterSpaceFactor¶
-
LetteringStyleBuilder.DimensionStandardTextCharacterSpaceFactor¶ Returns or sets the dimension Standard text character space factor.
This defines the spacing between characters in text as a multiple of the standard character spacing for the Standard font. This setting is specific to preferences and object style in create mode.
-------------------------------------Getter Method
Signature
DimensionStandardTextCharacterSpaceFactorReturns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DimensionStandardTextCharacterSpaceFactorParameters: dimensionStandardTextCharSpaceFactor (float) – New in version NX9.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
DimensionTextAspectRatio¶
-
LetteringStyleBuilder.DimensionTextAspectRatio¶ Returns or sets the dimension text aspect ratio.
This specifies a ratio of length to height which represents the size of character text. This only defines the aspect ratio for text.
LetteringStyleBuilder.DimensionTextSymbolAspectRatio`()controls the aspect ratio of symbol text control sequences.-------------------------------------Getter Method
Signature
DimensionTextAspectRatioReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DimensionTextAspectRatioParameters: dimensionTextAspectRatio (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
DimensionTextCharSpaceFactor¶
-
LetteringStyleBuilder.DimensionTextCharSpaceFactor¶ Returns or sets the dimension text space factor.
This defines the spacing between characters in text as a multiple of the standard character spacing for the current font
-------------------------------------Getter Method
Signature
DimensionTextCharSpaceFactorReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DimensionTextCharSpaceFactorParameters: dimensionTextCharSpaceFactor (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
DimensionTextColor¶
-
LetteringStyleBuilder.DimensionTextColor¶ Returns or sets the dimension text color
-------------------------------------Getter Method
Signature
DimensionTextColorReturns: Return type: Id New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DimensionTextColorParameters: dimensionTextColor (Id) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
DimensionTextFont¶
-
LetteringStyleBuilder.DimensionTextFont¶ Returns or sets the dimension text font
-------------------------------------Getter Method
Signature
DimensionTextFontReturns: Return type: int New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DimensionTextFontParameters: dimensionTextFont (int) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
DimensionTextItalicized¶
-
LetteringStyleBuilder.DimensionTextItalicized¶ Returns or sets the dimension text italic status
-------------------------------------Getter Method
Signature
DimensionTextItalicizedReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DimensionTextItalicizedParameters: dimensionTextItalic (bool) – New in version NX8.5.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
DimensionTextLineSpaceFactor¶
-
LetteringStyleBuilder.DimensionTextLineSpaceFactor¶ Returns or sets the dimension text line space factor
-------------------------------------Getter Method
Signature
DimensionTextLineSpaceFactorReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DimensionTextLineSpaceFactorParameters: dimensionTextLineSpaceFactor (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
DimensionTextLineWidth¶
-
LetteringStyleBuilder.DimensionTextLineWidth¶ Returns or sets the dimension text line width.
The values for
NXOpen.Annotations.LineWidthwhen using standard font : A value ofNXOpen.Annotations.LineWidth.Thinis equivalent to a value of “Regular” or “Italic” (ifNXOpen.Annotations.LetteringStyleBuilder.DimensionTextItalicized`()is set). Any value other thanNXOpen.Annotations.LineWidth.Thinis equivalent to a value of “Bold” or “Bold Italic” (ifNXOpen.Annotations.LetteringStyleBuilder.DimensionTextItalicized`()is set).-------------------------------------Getter Method
Signature
DimensionTextLineWidthReturns: Return type: NXOpen.Annotations.LineWidthNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DimensionTextLineWidthParameters: dimensionTextLineWidth ( NXOpen.Annotations.LineWidth) –New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
DimensionTextSize¶
-
LetteringStyleBuilder.DimensionTextSize¶ Returns or sets the dimension text character size
-------------------------------------Getter Method
Signature
DimensionTextSizeReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DimensionTextSizeParameters: dimensionTextSize (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
DimensionTextSymbolAspectRatio¶
-
LetteringStyleBuilder.DimensionTextSymbolAspectRatio¶ Returns or sets the symbol aspect ratio for dimension text (only available for symbols when using standard font).
This value controls the aspect ratio of text control sequences such as the diameter symbol (represented by the <O> text control sequence), the counterbore symbol (represented by the <#C> text control sequence), the degree symbol (represented by the <$s> text control sequence), the true position symbol (represented by the <&10> text control sequence), etc.
-------------------------------------Getter Method
Signature
DimensionTextSymbolAspectRatioReturns: Return type: float New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DimensionTextSymbolAspectRatioParameters: dimensionTextSymbolAspect (float) – New in version NX11.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
GdtFrameHeightFactor¶
-
LetteringStyleBuilder.GdtFrameHeightFactor¶ Returns or sets the GD and T frame height factor
-------------------------------------Getter Method
Signature
GdtFrameHeightFactorReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GdtFrameHeightFactorParameters: gdtFrameHeightFactor (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
GeneralNxTextCharacterSpaceFactor¶
-
LetteringStyleBuilder.GeneralNxTextCharacterSpaceFactor¶ Returns or sets the general NX text character space factor.
This defines the spacing between characters in text as a multiple of the standard character spacing for the NX font. This setting is specific to preferences and object style in create mode.
-------------------------------------Getter Method
Signature
GeneralNxTextCharacterSpaceFactorReturns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GeneralNxTextCharacterSpaceFactorParameters: generalNXTextCharSpaceFactor (float) – New in version NX9.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
GeneralStandardTextCharacterSpaceFactor¶
-
LetteringStyleBuilder.GeneralStandardTextCharacterSpaceFactor¶ Returns or sets the general Standard text character space factor.
This defines the spacing between characters in text as a multiple of the standard character spacing for the Standard font. This setting is specific to preferences and object style in create mode.
-------------------------------------Getter Method
Signature
GeneralStandardTextCharacterSpaceFactorReturns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GeneralStandardTextCharacterSpaceFactorParameters: generalStandardTextCharSpaceFactor (float) – New in version NX9.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
GeneralTextAspectRatio¶
-
LetteringStyleBuilder.GeneralTextAspectRatio¶ Returns or sets the general text aspect ratio.
This specifies a ratio of length to height which represents the size of character text. This only defines the aspect ratio for text.
LetteringStyleBuilder.GeneralTextSymbolAspectRatio`()controls the aspect ratio of symbol text control sequences.-------------------------------------Getter Method
Signature
GeneralTextAspectRatioReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GeneralTextAspectRatioParameters: generalTextAspectRatio (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
GeneralTextCharSpaceFactor¶
-
LetteringStyleBuilder.GeneralTextCharSpaceFactor¶ Returns or sets the general text character space factor.
This defines the spacing between characters in text as a multiple of the standard character spacing for the current font
-------------------------------------Getter Method
Signature
GeneralTextCharSpaceFactorReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GeneralTextCharSpaceFactorParameters: generalTextCharSpaceFactor (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
GeneralTextColor¶
-
LetteringStyleBuilder.GeneralTextColor¶ Returns or sets the general text color
-------------------------------------Getter Method
Signature
GeneralTextColorReturns: Return type: Id New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GeneralTextColorParameters: generalTextColor (Id) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
GeneralTextFont¶
-
LetteringStyleBuilder.GeneralTextFont¶ Returns or sets the general text font
-------------------------------------Getter Method
Signature
GeneralTextFontReturns: Return type: int New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GeneralTextFontParameters: generalTextFont (int) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
GeneralTextItalicized¶
-
LetteringStyleBuilder.GeneralTextItalicized¶ Returns or sets the general text italic status
-------------------------------------Getter Method
Signature
GeneralTextItalicizedReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GeneralTextItalicizedParameters: generalTextItalicized (bool) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
GeneralTextLineSpaceFactor¶
-
LetteringStyleBuilder.GeneralTextLineSpaceFactor¶ Returns or sets the general text line space factor
-------------------------------------Getter Method
Signature
GeneralTextLineSpaceFactorReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GeneralTextLineSpaceFactorParameters: generalTextLineSpaceFactor (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
GeneralTextLineWidth¶
-
LetteringStyleBuilder.GeneralTextLineWidth¶ Returns or sets the general text line width.
The values for
NXOpen.Annotations.LineWidthwhen using standard font : A value ofNXOpen.Annotations.LineWidth.Thinis equivalent to a value of “Regular” or “Italic” (ifNXOpen.Annotations.LetteringStyleBuilder.GeneralTextItalicized`()is set). Any value other thanNXOpen.Annotations.LineWidth.Thinis equivalent to a value of “Bold” or “Bold Italic” (ifNXOpen.Annotations.LetteringStyleBuilder.GeneralTextItalicized`()is set).-------------------------------------Getter Method
Signature
GeneralTextLineWidthReturns: Return type: NXOpen.Annotations.LineWidthNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GeneralTextLineWidthParameters: generalTextLineWidth ( NXOpen.Annotations.LineWidth) –New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
GeneralTextSize¶
-
LetteringStyleBuilder.GeneralTextSize¶ Returns or sets the general text character size
-------------------------------------Getter Method
Signature
GeneralTextSizeReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GeneralTextSizeParameters: generalTextSize (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
GeneralTextSymbolAspectRatio¶
-
LetteringStyleBuilder.GeneralTextSymbolAspectRatio¶ Returns or sets the symbol aspect ratio for general text (only available for symbols when using standard font).
This value controls the aspect ratio of text control sequences such as the diameter symbol (represented by the <O> text control sequence), the counterbore symbol (represented by the <#C> text control sequence), the degree symbol (represented by the <$s> text control sequence), the true position symbol (represented by the <&10> text control sequence), etc.
-------------------------------------Getter Method
Signature
GeneralTextSymbolAspectRatioReturns: Return type: float New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GeneralTextSymbolAspectRatioParameters: generalTextSymbolAspect (float) – New in version NX11.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
HorizontalTextJustification¶
-
LetteringStyleBuilder.HorizontalTextJustification¶ Returns or sets the horizontal text justification
-------------------------------------Getter Method
Signature
HorizontalTextJustificationReturns: Return type: NXOpen.Annotations.TextJustificationNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
HorizontalTextJustificationParameters: horizontalTextJustification ( NXOpen.Annotations.TextJustification) –New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
StackAboveSpaceFactor¶
-
LetteringStyleBuilder.StackAboveSpaceFactor¶ Returns or sets the stack above space factor.
This specifies the space buffer above the annotation within a stack as a factor of a multiple of the character size
-------------------------------------Getter Method
Signature
StackAboveSpaceFactorReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StackAboveSpaceFactorParameters: stackAboveSpaceFactor (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
StackAutospace¶
-
LetteringStyleBuilder.StackAutospace¶ Returns or sets the stack autospace setting.
A value of True means that system defined spacing values will be used when a symbol is inserted into a stack
-------------------------------------Getter Method
Signature
StackAutospaceReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StackAutospaceParameters: stackAutospace (bool) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
StackBelowSpaceFactor¶
-
LetteringStyleBuilder.StackBelowSpaceFactor¶ Returns or sets the stack below space factor.
This specifies the space buffer below the annotation within a stack as a factor of a multiple of the character size
-------------------------------------Getter Method
Signature
StackBelowSpaceFactorReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StackBelowSpaceFactorParameters: stackBelowSpaceFactor (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
StackHorizontalAlignment¶
-
LetteringStyleBuilder.StackHorizontalAlignment¶ Returns or sets the stack horizontal alignment
-------------------------------------Getter Method
Signature
StackHorizontalAlignmentReturns: Return type: NXOpen.Annotations.StackHorizontalAlignmentNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StackHorizontalAlignmentParameters: stackHorizontalAlignment ( NXOpen.Annotations.StackHorizontalAlignment) –New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
StackInheritAssociatedObjects¶
-
LetteringStyleBuilder.StackInheritAssociatedObjects¶ Returns or sets the stack inherit associated objects setting.
A value of True means that a PMI annotation when added to a stack will automatically inherit the associated objects of the stack
-------------------------------------Getter Method
Signature
StackInheritAssociatedObjectsReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StackInheritAssociatedObjectsParameters: stackInheritAssociatedObjects (bool) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
StackLeftSpaceFactor¶
-
LetteringStyleBuilder.StackLeftSpaceFactor¶ Returns or sets the stack left space factor.
This specifies the space buffer to the left of the annotation within a stack as a factor of a multiple of the character size
-------------------------------------Getter Method
Signature
StackLeftSpaceFactorReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StackLeftSpaceFactorParameters: stackLeftSpaceFactor (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
StackRightSpaceFactor¶
-
LetteringStyleBuilder.StackRightSpaceFactor¶ Returns or sets the stack right space factor.
This specifies the space buffer to the rght of the annotation within a stack as a factor of a multiple of the character size
-------------------------------------Getter Method
Signature
StackRightSpaceFactorReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StackRightSpaceFactorParameters: stackRightSpaceFactor (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
StackVerticalAlignment¶
-
LetteringStyleBuilder.StackVerticalAlignment¶ Returns or sets the stack vertical alignment
-------------------------------------Getter Method
Signature
StackVerticalAlignmentReturns: Return type: NXOpen.Annotations.StackVerticalAlignmentNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StackVerticalAlignmentParameters: stackVerticalAlignment ( NXOpen.Annotations.StackVerticalAlignment) –New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
SymbolFontFile¶
-
LetteringStyleBuilder.SymbolFontFile¶ Returns or sets the symbol font file setting.
This is global preferences setting.
-------------------------------------Getter Method
Signature
SymbolFontFileReturns: Return type: str New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SymbolFontFileParameters: symbolFontFile (str) – New in version NX9.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
ToleranceNxTextCharacterSpaceFactor¶
-
LetteringStyleBuilder.ToleranceNxTextCharacterSpaceFactor¶ Returns or sets the tolerance NX text character space factor.
This defines the spacing between characters in text as a multiple of the standard character spacing for the NX font. This setting is specific to preferences and object style in create mode.
-------------------------------------Getter Method
Signature
ToleranceNxTextCharacterSpaceFactorReturns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToleranceNxTextCharacterSpaceFactorParameters: toleranceNXTextCharSpaceFactor (float) – New in version NX9.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
ToleranceStandardTextCharacterSpaceFactor¶
-
LetteringStyleBuilder.ToleranceStandardTextCharacterSpaceFactor¶ Returns or sets the tolerance Standard text character space factor.
This defines the spacing between characters in text as a multiple of the standard character spacing for the Standard font. This setting is specific to preferences and object style in create mode.
-------------------------------------Getter Method
Signature
ToleranceStandardTextCharacterSpaceFactorReturns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToleranceStandardTextCharacterSpaceFactorParameters: toleranceStandardTextCharSpaceFactor (float) – New in version NX9.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
ToleranceTextAspectRatio¶
-
LetteringStyleBuilder.ToleranceTextAspectRatio¶ Returns or sets the tolerance text aspect ratio.
This specifies a ratio of length to height which represents the size of character text. This only defines the aspect ratio for text.
LetteringStyleBuilder.ToleranceTextSymbolAspectRatio`()controls the aspect ratio of symbol text control sequences.-------------------------------------Getter Method
Signature
ToleranceTextAspectRatioReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToleranceTextAspectRatioParameters: toleranceTextAspectRatio (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
ToleranceTextCharSpaceFactor¶
-
LetteringStyleBuilder.ToleranceTextCharSpaceFactor¶ Returns or sets the tolerance text character space factor.
This defines the spacing between characters in text as a multiple of the standard character spacing for the current font
-------------------------------------Getter Method
Signature
ToleranceTextCharSpaceFactorReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToleranceTextCharSpaceFactorParameters: toleranceTextCharSpaceFactor (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
ToleranceTextColor¶
-
LetteringStyleBuilder.ToleranceTextColor¶ Returns or sets the tolerance text color
-------------------------------------Getter Method
Signature
ToleranceTextColorReturns: Return type: Id New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToleranceTextColorParameters: toleranceTextColor (Id) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
ToleranceTextFont¶
-
LetteringStyleBuilder.ToleranceTextFont¶ Returns or sets the tolerance text font
-------------------------------------Getter Method
Signature
ToleranceTextFontReturns: Return type: int New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToleranceTextFontParameters: toleranceTextFont (int) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
ToleranceTextItalicized¶
-
LetteringStyleBuilder.ToleranceTextItalicized¶ Returns or sets the tolerance text italic status
-------------------------------------Getter Method
Signature
ToleranceTextItalicizedReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToleranceTextItalicizedParameters: toleranceTextItalicized (bool) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
ToleranceTextLineSpaceFactor¶
-
LetteringStyleBuilder.ToleranceTextLineSpaceFactor¶ Returns or sets the tolerance text line space factor
-------------------------------------Getter Method
Signature
ToleranceTextLineSpaceFactorReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToleranceTextLineSpaceFactorParameters: toleranceTextLineSpaceFactor (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
ToleranceTextLineWidth¶
-
LetteringStyleBuilder.ToleranceTextLineWidth¶ Returns or sets the tolerance text line width.
The values for
NXOpen.Annotations.LineWidthwhen using standard font : A value ofNXOpen.Annotations.LineWidth.Thinis equivalent to a value of “Regular” or “Italic” (ifNXOpen.Annotations.LetteringStyleBuilder.ToleranceTextItalicized`()is set). Any value other thanNXOpen.Annotations.LineWidth.Thinis equivalent to a value of “Bold” or “Bold Italic” (ifNXOpen.Annotations.LetteringStyleBuilder.ToleranceTextItalicized`()is set).-------------------------------------Getter Method
Signature
ToleranceTextLineWidthReturns: Return type: NXOpen.Annotations.LineWidthNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToleranceTextLineWidthParameters: toleranceTextLineWidth ( NXOpen.Annotations.LineWidth) –New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
ToleranceTextSize¶
-
LetteringStyleBuilder.ToleranceTextSize¶ Returns or sets the tolerance text character size
-------------------------------------Getter Method
Signature
ToleranceTextSizeReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToleranceTextSizeParameters: toleranceTextSize (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
ToleranceTextSpaceFactor¶
-
LetteringStyleBuilder.ToleranceTextSpaceFactor¶ Returns or sets the tolerance text space factor.
This contols the spacing between the dimension main text and the after tolerance text. The space is equal to the tolerance text character size multiplied by the space factor
-------------------------------------Getter Method
Signature
ToleranceTextSpaceFactorReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToleranceTextSpaceFactorParameters: toleranceTextSpaceFactor (float) – New in version NX6.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
ToleranceTextSymbolAspectRatio¶
-
LetteringStyleBuilder.ToleranceTextSymbolAspectRatio¶ Returns or sets the symbol aspect ratio for tolerance text (only available for symbols when using standard font).
This value controls the aspect ratio of text control sequences such as the diameter symbol (represented by the <O> text control sequence), the counterbore symbol (represented by the <#C> text control sequence), the degree symbol (represented by the <$s> text control sequence), the true position symbol (represented by the <&10> text control sequence), etc.
-------------------------------------Getter Method
Signature
ToleranceTextSymbolAspectRatioReturns: Return type: float New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToleranceTextSymbolAspectRatioParameters: toleranceTextSymbolAspect (float) – New in version NX11.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
TwoLineToleranceTextSize¶
-
LetteringStyleBuilder.TwoLineToleranceTextSize¶ Returns or sets the two-line tolerance text character size
-------------------------------------Getter Method
Signature
TwoLineToleranceTextSizeReturns: Return type: float New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TwoLineToleranceTextSizeParameters: twoLineToleranceTextSize (float) – New in version NX11.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
Method Detail¶
Validate¶
-
LetteringStyleBuilder.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.