TextType Enumeration — NXOpen Python API Reference 12.0.0 documentation

# TextType Enumeration

class `NXOpen.Annotations.``TextType`

  Bases: `object`

  Specifies the custom symbol text type Enum Members

  Enum Member | Enum Member Description
  --- | ---
  Mandatory | Specifies text defined in the master symbol which can’t be modified in the custom symbol.
  Arbitrary | Specifies the default text defined in the master symbol which can be modified in the custom symbol. The text can be single or multiple line text.
  Controlled | Specifies the text defined in the master symbol as enumerated set of values, one of which can be selected in the custom symbol.
  PartiallyControlled | Specifies the text defined in the master symbol as enumerated set of values, one of which can be selected or overwritten in the custom symbol.
  Integer | Specifies ther text defined in the master symbol as an integer constrained between maximum and minimum value. An integer value between minimum and maximum can be used in custom symbol.
  Real | Specifies ther text defined in the master symbol as an real constrained between maximum and minimum value. An real value between minimum and maximum can be used in the custom symbol.
  Last | Last enum value. Should not be used.

  `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.