DurabilityEventOverridesBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# DurabilityEventOverridesBuilder Class

class `NXOpen.CAE.``DurabilityEventOverridesBuilder`

  Bases: `NXOpen.Builder`

  Represents a builder class for Event Overrides.

  The user can override the set of elements and/or the material to be used for the computation of durability data for a certain event using Event Overrides. To create a new instance of this class, use `NXOpen.CAE.DurabilitySolveOptionsCollection.CreateEventoverridesBuilder()`

  New in version NX7.5.0.

# Properties

Property | Description
--- | ---
DefaultMaterialTemperature | Returns the default material temperature.
Elements | Returns the select elements.
MaterialTag | Returns or sets the material.
Name | Returns or sets the name.
OverrideMaterial | Returns or sets the override material.
Tag | Returns the Tag for this object.
UseElements | Returns or sets the use selected elements.
UseNonLinear | Returns or sets the override material.

# Methods

Method | Description
--- | ---
Commit | Commits any edits that have been applied to the builder.
Destroy | Deletes the builder, and cleans up any objects created by the builder.
GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit.
GetObject | Returns the object currently being edited by this builder.
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results.
Validate | Validate whether the inputs to the component are sufficient for commit to be called.

# Enumerations

DurabilityEventOverridesBuilderUseElementsEnum Enumeration | the use elements enum.

# Property Detail

## DefaultMaterialTemperature

`DurabilityEventOverridesBuilder.``DefaultMaterialTemperature`

  Returns the default material temperature.

  `-------------------------------------`

  Getter Method

  Signature `DefaultMaterialTemperature`

  Returns: |
  Return type: | `NXOpen.Expression`

  New in version NX8.5.0.

  License requirements: None.

## Elements

`DurabilityEventOverridesBuilder.``Elements`

  Returns the select elements.

  `-------------------------------------`

  Getter Method

  Signature `Elements`

  Returns: |
  Return type: | `NXOpen.CAE.SelectElementsBuilder`

  New in version NX7.5.0.

  License requirements: None.

## MaterialTag

`DurabilityEventOverridesBuilder.``MaterialTag`

  Returns or sets the material.

  `-------------------------------------`

  Getter Method

  Signature `MaterialTag`

  Returns: |
  Return type: | `NXOpen.PhysicalMaterial`

  New in version NX7.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `MaterialTag`

  Parameters: | materialTag (`NXOpen.PhysicalMaterial`) –

  New in version NX7.5.0.

  License requirements: nx_adv_durability (“NX Advanced Durability”)

## Name

`DurabilityEventOverridesBuilder.``Name`

  Returns or sets the name.

  `-------------------------------------`

  Getter Method

  Signature `Name`

  Returns: |
  Return type: | str

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `Name`

  Parameters: | title (str) –

  New in version NX8.5.0.

  License requirements: nx_adv_durability (“NX Advanced Durability”)

## OverrideMaterial

`DurabilityEventOverridesBuilder.``OverrideMaterial`

  Returns or sets the override material.

  `-------------------------------------`

  Getter Method

  Signature `OverrideMaterial`

  Returns: |
  Return type: | bool

  New in version NX7.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `OverrideMaterial`

  Parameters: | overrideMaterial (bool) –

  New in version NX7.5.0.

  License requirements: nx_adv_durability (“NX Advanced Durability”)

## UseElements

`DurabilityEventOverridesBuilder.``UseElements`

  Returns or sets the use selected elements.

  `-------------------------------------`

  Getter Method

  Signature `UseElements`

  Returns: |
  Return type: | `NXOpen.CAE.DurabilityEventOverridesBuilderUseElementsEnum`

  New in version NX7.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `UseElements`

  Parameters: | useElements (`NXOpen.CAE.DurabilityEventOverridesBuilderUseElementsEnum`) –

  New in version NX7.5.0.

  License requirements: nx_adv_durability (“NX Advanced Durability”)

## UseNonLinear

`DurabilityEventOverridesBuilder.``UseNonLinear`

  Returns or sets the override material.

  `-------------------------------------`

  Getter Method

  Signature `UseNonLinear`

  Returns: |
  Return type: | bool

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `UseNonLinear`

  Parameters: | useNonLinear (bool) –

  New in version NX9.0.0.

  License requirements: nx_adv_durability (“NX Advanced Durability”)

# Method Detail

## Validate

`DurabilityEventOverridesBuilder.``Validate`

  Validate whether the inputs to the component are sufficient for commit to be called.

  If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

  Signature `Validate()`

  Returns: | Was self validation successful
  Return type: | bool

  New in version NX3.0.1.

  License requirements: None.