LineWidth Enumeration — NXOpen Python API Reference 12.0.0 documentation

# LineWidth Enumeration

class `NXOpen.Annotations.``LineWidth`

  Bases: `object`

  Specifies the line width. When using a standard font in the `NXOpen.Annotations.LetteringStyleBuilder` the values for `NXOpen.Annotations.LineWidth` will be interpreted as follows: A value of `NXOpen.Annotations.LineWidth.Thin` is equivalent to a font style value of “Regular” or “Italic” (if italic is set). Any value other than `NXOpen.Annotations.LineWidth.Thin` is equivalent to a font style value of “Bold” or “Bold Italic” (if italic is set). This applies to: `NXOpen.Annotations.LetteringStyleBuilder.DimensionTextLineWidth`()` with respect to `NXOpen.Annotations.LetteringStyleBuilder.DimensionTextItalicized`()` `NXOpen.Annotations.LetteringStyleBuilder.AppendedTextLineWidth`()` with respect to `NXOpen.Annotations.LetteringStyleBuilder.AppendedTextItalicized`()` `NXOpen.Annotations.LetteringStyleBuilder.ToleranceTextLineWidth`()` with respect to `NXOpen.Annotations.LetteringStyleBuilder.ToleranceTextItalicized`()` `NXOpen.Annotations.LetteringStyleBuilder.GeneralTextLineWidth`()` with respect to `NXOpen.Annotations.LetteringStyleBuilder.GeneralTextItalicized`()` Enum Members

  Enum Member | Enum Member Description
  --- | ---

  Normal

  Thick

  Thin

  One | Width One
  Two | Width Two
  Three | Width Three
  Four | Width Four
  Five | Width Five
  Six | Width Six
  Seven | Width Seven
  Eight | Width Eight
  Nine | Width Nine

  `ValueOf`()

    Returns enum member equivalent to the value passed. Useful for bit operations of enum members.

    Signature `ValueOf(value)`

    Parameters: | value – Any integer value or bit operation result of enum members:type value: int:returns: Enum member equivalent to the value passed.
    Return type: | Enum Member type.

    New in version NX9.0.1.

    License requirements: None.