WorkpieceBuilderWorkPieceType Enumeration — NXOpen Python API Reference 12.0.0 documentation

# WorkpieceBuilderWorkPieceType Enumeration

NXOpen.Tooling.WorkpieceBuilder.WorkPieceType is an alias for NXOpen.Tooling.WorkpieceBuilderWorkPieceType

class `NXOpen.Tooling.``WorkpieceBuilderWorkPieceType`

  Bases: `object`

  the unit type includes the work piece create method

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  UserDefinedBlock | The method defines the block by user
  CavityCore | The method adds the standards of cavity and core
  CavityOnly | The method adds the standards of cavity
  CoreOnly | The method adds the standards of cavity

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