OptionType Enumeration — NXOpen Python API Reference 12.0.0 documentation

# OptionType Enumeration

class `NXOpen.Options.``OptionType`

  Bases: `object`

  Describes type of an option. Enum Members

  Enum Member | Enum Member Description
  --- | ---
  Int | Option value is an integer number
  Real | Option value is a real number
  String | Option value is an ascii string
  StringList | Option value is a list of ascii strings
  Logical | Option value is logical
  Utf8string | Option value is a utf8 string
  Utf8stringList | Option value is a list of utf8 strings
  ReorderSelList | Option value is a list which can be selected and re-ordered

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