ExpressionBlockBuilderSlotType Enumeration — NXOpen Python API Reference 12.0.0 documentation

# ExpressionBlockBuilderSlotType Enumeration

NXOpen.Mechatronics.ExpressionBlockBuilder.SlotType is an alias for NXOpen.Mechatronics.ExpressionBlockBuilderSlotType

class `NXOpen.Mechatronics.``ExpressionBlockBuilderSlotType`

  Bases: `object`

  Represents the Slot type.

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  NotSet | None
  Input | Input that should connect to runtime parameter as input value.
  Output | Output that should connect to runtime parameter to output value
  Param | Param that is used to configure the block to differentiate mode
  State | State that is change during runtime based on internal data
  Custom | Custom that represents the user created temporary variable
  Num | Total Num

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