DurabilityEventCollection Class — NXOpen Python API Reference 12.0.0 documentation

# DurabilityEventCollection Class

class `NXOpen.CAE.``DurabilityEventCollection`

  Bases: `object`

  Represents a collection of durability events.

  To obtain an instance of this class, refer to `NXOpen.CAE.DurabilityMetaSolution`

  New in version NX7.5.0.

# Methods

Method | Description
--- | ---
CloneEvent | Makes a clone of a durability event.
CreateRandomEventBuilder | Creates the builder object of the durability random event.
CreateStaticEventBuilder | Creates the builder object of the durability static event.
CreateTransientEventBuilder | Creates the builder object of the durability transient event.
DeleteEvent | Delete a durability event.
FindObject | Finds a durability event with a specified name.

# Method Detail

## CloneEvent

`DurabilityEventCollection.``CloneEvent`

  Makes a clone of a durability event.

  Signature `CloneEvent(source)`

  Parameters: | source (`NXOpen.CAE.DurabilityEvent`) – Source event
  Returns: | Cloned event
  Return type: | `NXOpen.CAE.DurabilityEvent`

  New in version NX7.5.0.

  License requirements: nx_adv_durability (“NX Advanced Durability”)

## CreateRandomEventBuilder

`DurabilityEventCollection.``CreateRandomEventBuilder`

  Creates the builder object of the durability random event.

  Signature `CreateRandomEventBuilder(eventTag)`

  Parameters: | eventTag (`NXOpen.CAE.DurabilityRandomEvent`) –
  Returns: |
  Return type: | `NXOpen.CAE.DurabilityRandomEventBuilder`

  New in version NX8.5.0.

  License requirements: nx_adv_durability (“NX Advanced Durability”)

## CreateStaticEventBuilder

`DurabilityEventCollection.``CreateStaticEventBuilder`

  Creates the builder object of the durability static event.

  Signature `CreateStaticEventBuilder(eventTag)`

  Parameters: | eventTag (`NXOpen.CAE.DurabilityStaticEvent`) –
  Returns: |
  Return type: | `NXOpen.CAE.DurabilityStaticEventBuilder`

  New in version NX7.5.0.

  License requirements: nx_adv_durability (“NX Advanced Durability”)

## CreateTransientEventBuilder

`DurabilityEventCollection.``CreateTransientEventBuilder`

  Creates the builder object of the durability transient event.

  Signature `CreateTransientEventBuilder(eventTag)`

  Parameters: | eventTag (`NXOpen.CAE.DurabilityTransientEvent`) –
  Returns: |
  Return type: | `NXOpen.CAE.DurabilityTransientEventBuilder`

  New in version NX7.5.0.

  License requirements: nx_adv_durability (“NX Advanced Durability”)

## DeleteEvent

`DurabilityEventCollection.``DeleteEvent`

  Delete a durability event.

  Signature `DeleteEvent(eventTag)`

  Parameters: | eventTag (`NXOpen.CAE.DurabilityEvent`) – The durability event to be deleted

  New in version NX7.5.0.

  License requirements: nx_adv_durability (“NX Advanced Durability”)

## FindObject

`DurabilityEventCollection.``FindObject`

  Finds a durability event with a specified name.

  Signature `FindObject(name)`

  Parameters: | name (str) – name of the durability event
  Returns: | The durability event
  Return type: | `NXOpen.CAE.DurabilityEvent`

  New in version NX7.5.0.

  License requirements: nx_adv_durability (“NX Advanced Durability”)