PressModel Class — NXOpen Python API Reference 12.0.0 documentation

# PressModel Class

class `NXOpen.Die.``PressModel`

  Bases: `NXOpen.TransientObject`

  Represents a Die Simulation - Press Model

  New in version NX6.0.0.

# Methods

Method | Description
--- | ---
Dispose | Frees the object from memory.
GetNumOperations | Get number of operations
SetOperationCushionSettings | Set operation cushion values (Obsolete)
SetOperationCushionSettings2 | Set operation cushion values
SetOperationSlideHeight | Set operation slide height
SetOperationTransportCurveSet | Tell the press model which transport curve set to use in the given operation
SetOperationUserTransportCurves | Set values of the User Defined transport curve set, for given operation

# Method Detail

## Dispose

`PressModel.``Dispose`

  Frees the object from memory.

  After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.

  Signature `Dispose()`

  New in version NX6.0.0.

  License requirements: None.

## GetNumOperations

`PressModel.``GetNumOperations`

  Get number of operations

  Signature `GetNumOperations()`

  Returns: |
  Return type: | int

  New in version NX6.0.0.

  License requirements: ug_die_design (“Die Design”)

## SetOperationCushionSettings

`PressModel.``SetOperationCushionSettings`

  Set operation cushion values (Obsolete)

  Signature `SetOperationCushionSettings(operation, liftStartAngle, liftStopAngle, liftToDist, lockAtDist)`

  Parameters:

  - operation (int) – Operation of the cushion
  - liftStartAngle (float) – Lift start angle
  - liftStopAngle (float) – Lift stop angle
  - liftToDist (float) – Distance to lift to
  - lockAtDist (float) – Distance where lock happens

  New in version NX6.0.0.

  License requirements: ug_die_design (“Die Design”)

## SetOperationCushionSettings2

`PressModel.``SetOperationCushionSettings2`

  Set operation cushion values

  Signature `SetOperationCushionSettings2(operation, ventilationLiftDistance, ventilationLiftStay, binderWayLiftDistance, binderWayLiftDuration, upperLimit, lowerLimit)`

  Parameters:

  - operation (int) – Operation of the cushion
  - ventilationLiftDistance (float) – Ventilation lift distance
  - ventilationLiftStay (int) – Ventilation lift stay duration in degrees
  - binderWayLiftDistance (float) – Binder way lift distance
  - binderWayLiftDuration (int) – Binder way lift duration in degrees
  - upperLimit (float) – Cushion range upper limit
  - lowerLimit (float) – Cushion range lowe limit

  New in version NX11.0.1.

  License requirements: ug_die_design (“Die Design”)

## SetOperationSlideHeight

`PressModel.``SetOperationSlideHeight`

  Set operation slide height

  Signature `SetOperationSlideHeight(operation, slideHeight)`

  Parameters:

  - operation (int) – Operation of the slide
  - slideHeight (float) – Slide height

  New in version NX6.0.0.

  License requirements: ug_die_design (“Die Design”)

## SetOperationTransportCurveSet

`PressModel.``SetOperationTransportCurveSet`

  Tell the press model which transport curve set to use in the given operation

  Signature `SetOperationTransportCurveSet(operation, curveSet)`

  Parameters:

  - operation (int) – Operation of the transport devices
  - curveSet (int) – Index of the curve set

  New in version NX6.0.0.

  License requirements: ug_die_design (“Die Design”)

## SetOperationUserTransportCurves

`PressModel.``SetOperationUserTransportCurves`

  Set values of the User Defined transport curve set, for given operation

  Signature `SetOperationUserTransportCurves(operation, vals)`

  Parameters:

  - operation (int) – Operation of the transport devices
  - vals (list of float) – The curve set values

  New in version NX6.0.0.

  License requirements: ug_die_design (“Die Design”)