DurabilityEventBuilder Class¶
-
class
NXOpen.CAE.
DurabilityEventBuilder
¶ Bases:
NXOpen.Builder
Represents the abstract builder class for all durability events.
This is an abstract class, and cannot be created.
New in version NX7.5.0.
Properties¶
Property | Description |
---|---|
EventName | Returns or sets the event name. |
ResultSourceTag | Returns or sets the source of results for the event. |
Tag | Returns the Tag for this object. |
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. |
SetAxissearch | The stress axes stored inside the event. |
SetFatigue | The event fatigue settings stored inside the event. |
SetSolveoptions | The event overrides. |
SetStrength | The event strength settings stored inside the event. |
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. |
Property Detail¶
EventName¶
-
DurabilityEventBuilder.
EventName
¶ Returns or sets the event name.
-------------------------------------
Getter Method
Signature
EventName()
Returns: Return type: str New in version NX7.5.0.
License requirements: nx_adv_durability (“NX Advanced Durability”)
-------------------------------------
Setter Method
Signature
EventName(title)
Parameters: title (str) – New in version NX7.5.0.
License requirements: nx_adv_durability (“NX Advanced Durability”)
ResultSourceTag¶
-
DurabilityEventBuilder.
ResultSourceTag
¶ Returns or sets the source of results for the event.
-------------------------------------
Getter Method
Signature
ResultSourceTag()
Returns: Return type: NXOpen.NXObject
New in version NX7.5.0.
License requirements: nx_adv_durability (“NX Advanced Durability”)
-------------------------------------
Setter Method
Signature
ResultSourceTag(resultSourceTag)
Parameters: resultSourceTag ( NXOpen.NXObject
) –New in version NX7.5.0.
License requirements: nx_adv_durability (“NX Advanced Durability”)
Method Detail¶
SetAxissearch¶
-
DurabilityEventBuilder.
SetAxissearch
¶ The stress axes stored inside the event.
Signature
SetAxissearch(axisSearch)
Parameters: axisSearch ( NXOpen.CAE.DurabilityAxisSearch
) –New in version NX8.5.0.
License requirements: nx_adv_durability (“NX Advanced Durability”)
SetFatigue¶
-
DurabilityEventBuilder.
SetFatigue
¶ The event fatigue settings stored inside the event.
Signature
SetFatigue(fatigue)
Parameters: fatigue ( NXOpen.CAE.DurabilityFatigue
) –New in version NX8.5.0.
License requirements: nx_adv_durability (“NX Advanced Durability”)
SetSolveoptions¶
-
DurabilityEventBuilder.
SetSolveoptions
¶ The event overrides.
Signature
SetSolveoptions(solveOption)
Parameters: solveOption ( NXOpen.CAE.DurabilitySolveOptions
) –New in version NX8.5.0.
License requirements: nx_adv_durability (“NX Advanced Durability”)
SetStrength¶
-
DurabilityEventBuilder.
SetStrength
¶ The event strength settings stored inside the event.
Signature
SetStrength(strength)
Parameters: strength ( NXOpen.CAE.DurabilityStrength
) –New in version NX8.5.0.
License requirements: nx_adv_durability (“NX Advanced Durability”)
Validate¶
-
DurabilityEventBuilder.
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.