DurabilityEvaluateFatigueHistoryBuilder Class

class NXOpen.CAE.DurabilityEvaluateFatigueHistoryBuilder

Bases: NXOpen.Builder

Represents the builder for evaluating fatigue histories.

To create a new instance of this class, use NXOpen.CAE.DurabilityManager.CreateDurabilityEvaluateFatigueHistoryBuilder()

Default values.

Property Value
FatigueHistoryDataType Stress

New in version NX8.0.1.

Properties

Property Description
FatigueHistoryDataType Returns or sets the fatigue history enum
OutputAfuFileName Returns or sets the output afu file name.
Tag Returns the Tag for this object.

Methods

Method Description
AfuFunction The function is called when the user click the button of Export to AFU Funciton
Commit Commits any edits that have been applied to the builder.
Destroy Deletes the builder, and cleans up any objects created by the builder.
EditEvent The function is called when the user click the button of Edit Event Attributes
ExportFatigueHistoryToCsv Export fatigue history functions to a csv file.
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

DurabilityEvaluateFatigueHistoryBuilderFatigueHistoryDataTypeEnum Enumeration Fatigue history data type: as per event, stress or strain

Property Detail

FatigueHistoryDataType

DurabilityEvaluateFatigueHistoryBuilder.FatigueHistoryDataType

Returns or sets the fatigue history enum

-------------------------------------

Getter Method

Signature FatigueHistoryDataType

Returns:
Return type:NXOpen.CAE.DurabilityEvaluateFatigueHistoryBuilderFatigueHistoryDataTypeEnum

New in version NX8.0.1.

License requirements: None.

-------------------------------------

Setter Method

Signature FatigueHistoryDataType

Parameters:fatigueHistoryDataType (NXOpen.CAE.DurabilityEvaluateFatigueHistoryBuilderFatigueHistoryDataTypeEnum) –

New in version NX8.0.1.

License requirements: nx_adv_durability (“NX Advanced Durability”)

OutputAfuFileName

DurabilityEvaluateFatigueHistoryBuilder.OutputAfuFileName

Returns or sets the output afu file name.

-------------------------------------

Getter Method

Signature OutputAfuFileName

Returns:
Return type:str

New in version NX8.0.1.

License requirements: nx_adv_durability (“NX Advanced Durability”)

-------------------------------------

Setter Method

Signature OutputAfuFileName

Parameters:filename (str) –

New in version NX8.0.1.

License requirements: nx_adv_durability (“NX Advanced Durability”)

Method Detail

AfuFunction

DurabilityEvaluateFatigueHistoryBuilder.AfuFunction

The function is called when the user click the button of Export to AFU Funciton

Signature AfuFunction()

New in version NX8.0.1.

License requirements: nx_adv_durability (“NX Advanced Durability”)

EditEvent

DurabilityEvaluateFatigueHistoryBuilder.EditEvent

The function is called when the user click the button of Edit Event Attributes

Signature EditEvent()

New in version NX8.0.1.

License requirements: nx_adv_durability (“NX Advanced Durability”)

ExportFatigueHistoryToCsv

DurabilityEvaluateFatigueHistoryBuilder.ExportFatigueHistoryToCsv

Export fatigue history functions to a csv file.

Signature ExportFatigueHistoryToCsv(csvFilename)

Parameters:csvFilename (str) – fatigue history functions will be written-out to this file.

New in version NX8.0.1.

License requirements: nx_adv_durability (“NX Advanced Durability”)

Validate

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