Lettering Struct — NXOpen Python API Reference 12.0.0 documentation

# Lettering Struct

class `NXOpen.Annotations.``Lettering`

  Bases: `object`

  Specifies lettering data .

  Constructor: NXOpen.Annotations.Lettering()

# Fields

Field | Description
--- | ---
Size | Height of a character
CharacterSpaceFactor | Multiplier applied to font’s standard character spacing
AspectRatio | Aspect ratio for a character
LineSpaceFactor | Multiplier applied to font’s standard line spacing
Cfw | Color, font, and width for lettering
Italic | italicized text for standard font text
SymbolAspectRatio | Symbol aspect ratio (this only applies to symbols when using standard fonts) This value controls the aspect ratio of text control sequences such as the diameter symbol (represented by the &#x3C;O&#x3E; text control sequence), the counterbore symbol (represented by the &#x3C;&#x23;C&#x3E; text control sequence), the degree symbol (represented by the &#x3C;&#x24;s&#x3E; text control sequence), the true position symbol (represented by the &#x3C;&#x26;10&#x3E; text control sequence), etc.

## Size

`Lettering.``Size`

  Height of a character `-------------------------------------`

  Field Value Type:float

## CharacterSpaceFactor

`Lettering.``CharacterSpaceFactor`

  Multiplier applied to font’s standard character spacing `-------------------------------------`

  Field Value Type:float

## AspectRatio

`Lettering.``AspectRatio`

  Aspect ratio for a character `-------------------------------------`

  Field Value Type:float

## LineSpaceFactor

`Lettering.``LineSpaceFactor`

  Multiplier applied to font’s standard line spacing `-------------------------------------`

  Field Value Type:float

## Cfw

`Lettering.``Cfw`

  Color, font, and width for lettering `-------------------------------------`

  Field Value Type:`NXOpen.Annotations.TextCfw`

## Italic

`Lettering.``Italic`

  italicized text for standard font text `-------------------------------------`

  Field Value Type:bool

## SymbolAspectRatio

`Lettering.``SymbolAspectRatio`

  Symbol aspect ratio (this only applies to symbols when using standard fonts) This value controls the aspect ratio of text control sequences such as the diameter symbol (represented by the &#x3C;O&#x3E; text control sequence), the counterbore symbol (represented by the &#x3C;&#x23;C&#x3E; text control sequence), the degree symbol (represented by the &#x3C;&#x24;s&#x3E; text control sequence), the true position symbol (represented by the &#x3C;&#x26;10&#x3E; text control sequence), etc.

  This value cannot be negative. The default value is zero. A zero value indicates that the aspect ratio for a character will be used for the symbol aspect ratio. `-------------------------------------`

  Field Value Type:float