FatigueTool#

class ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.FatigueTool(internalObject: Any)#

Bases: object

Defines a FatigueTool.

Overview#

Activate

Activate the current object.

AddBiaxialityIndication

Creates a new FatigueBiaxialityIndication

AddComment

Creates a new child Comment.

AddDamage

Creates a new FatigueDamage

AddDamageMatrix

Creates a new FatigueDamageMatrix

AddEquivalentAlternativeStress

Creates a new FatigueEquivalentAlternativeStress

AddFatigueSensitivity

Creates a new FatigueSensitivity

AddHysteresis

Creates a new FatigueHysteresis

AddImage

Creates a new child Image.

AddLife

Creates a new FatigueLife

AddRainflowMatrix

Creates a new FatigueRainflowMatrix

AddSafetyFactor

Creates a new FatigueSafetyFactor

ClearGeneratedData

Run the ClearGeneratedData action.

CopyTo

Copies all visible properties from this object to another.

CreateObjRef

CreateObjRef method.

CreateParameter

Creates a new parameter for a Property.

Delete

Run the Delete action.

Duplicate

Creates a copy of the current DataModelObject.

DuplicateWithoutResults

Run the DuplicateWithoutResults action.

Equals

Equals method.

EvaluateAllResults

Run the EvaluateAllResults action.

GetAPIName

Property name bound to dispId.

GetAllProperties

GetAllProperties method.

GetChildren

Gets the list of children, filtered by type.

GetDetailsView

GetDetailsView method.

GetEnumName

Enum name bound to value

GetHashCode

GetHashCode method.

GetIconFile

GetIconFile method.

GetLifetimeService

GetLifetimeService method.

GetObjectData

GetObjectData method.

GetParameter

Gets the parameter corresponding to the given property.

GetPath

GetPath method.

GetPropertyName

GetPropertyName method.

GetPropertyValue

GetPropertyValue method.

GetType

GetType method.

GetUnitString

GetUnitString method.

GetVisibleProperties

GetVisibleProperties method.

GetVisiblePropertyNames

GetVisiblePropertyNames method.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

InitializeLifetimeService

InitializeLifetimeService method.

IsPropertyEditable

IsPropertyEditable method.

IsPropertyVisible

IsPropertyVisible method.

PropertyByAPIName

Get a property by its API name.

PropertyById

PropertyById method.

PropertyByName

Get a property by its unique name.

RemoveParameter

Removes the parameter from the parameter set corresponding to the given property.

ToString

ToString method.

AnalysisType

Gets or sets the AnalysisType.

AttachedRefs

AttachedRefs property.

BinSize

Gets or sets the BinSize.

Children

Gets the list of children.

ClsId

ClsId property.

Comments

Gets the list of associated comments.

CustomUnitsName

Gets or sets the Custom Units Name.

DataModelObjectCategory

Gets the current DataModelObject's category.

DisplayTime

Gets or sets the DisplayTime.

ExposureDuration

Gets or sets the ExposureDuration.

FatigueStrengthFactor

Gets or sets the FatigueStrengthFactor.

Frequency

Gets or sets the Frequency.

FrequencySelection

Gets or sets the FrequencySelection.

GroupingFolder

GroupingFolder property.

HistoryDataLocation

Gets or sets the HistoryDataLocation.

IconName

IconName property.

Images

Gets the list of associated images.

InfiniteLife

Gets or sets the InfiniteLife.

InternalObject

Gets the internal object. For advanced usage only.

LoadingRatio

Gets or sets the LoadingRatio.

LoadingType

Gets or sets the LoadingType.

MaximumDataPointsToPlot

Gets or sets the MaximumDataPointsToPlot.

MeanStressTheory

Gets or sets the MeanStressTheory.

MethodSelection

Gets or sets the MethodSelection.

Name

Name property.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

OneCycleIsEqualTo

Gets or sets the OneCycleIsEqualTo.

Parent

Parent property.

Properties

Gets the list of properties for this object.

ResultsInput

Gets or sets the ResultsInput.

ScaleFactor

Gets or sets the ScaleFactor.

State

State property.

StressComponent

Gets or sets the StressComponent.

UnitsName

Gets or sets the UnitsName.

UseQuickRainflowCounting

Gets or sets the UseQuickRainflowCounting.

VisibleProperties

Gets the list of properties that are visible for this object.

Property detail#

property FatigueTool.AnalysisType: Ansys.Mechanical.DataModel.Enums.FatigueToolAnalysisType | None#

Gets or sets the AnalysisType.

property FatigueTool.AttachedRefs: List[int] | None#

AttachedRefs property.

property FatigueTool.BinSize: int | None#

Gets or sets the BinSize.

property FatigueTool.Children: List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None#

Gets the list of children.

property FatigueTool.ClsId: int | None#

ClsId property.

property FatigueTool.Comments: Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None#

Gets the list of associated comments.

property FatigueTool.CustomUnitsName: str | None#

Gets or sets the Custom Units Name.

property FatigueTool.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None#

Gets the current DataModelObject's category.

property FatigueTool.DisplayTime: Ansys.Core.Units.Quantity | None#

Gets or sets the DisplayTime.

property FatigueTool.ExposureDuration: Ansys.Core.Units.Quantity | None#

Gets or sets the ExposureDuration.

property FatigueTool.FatigueStrengthFactor: float | None#

Gets or sets the FatigueStrengthFactor.

property FatigueTool.Frequency: Ansys.Core.Units.Quantity | None#

Gets or sets the Frequency.

property FatigueTool.FrequencySelection: Ansys.Mechanical.DataModel.Enums.FatigueFrequencySelection | None#

Gets or sets the FrequencySelection.

property FatigueTool.GroupingFolder: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

GroupingFolder property.

property FatigueTool.HistoryDataLocation: str | None#

Gets or sets the HistoryDataLocation.

property FatigueTool.IconName: str | None#

IconName property.

property FatigueTool.Images: Iterable[Ansys.ACT.Automation.Mechanical.Image] | None#

Gets the list of associated images.

property FatigueTool.InfiniteLife: float | None#

Gets or sets the InfiniteLife.

property FatigueTool.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSFatigueToolAuto | None#

Gets the internal object. For advanced usage only.

property FatigueTool.LoadingRatio: float | None#

Gets or sets the LoadingRatio.

property FatigueTool.LoadingType: Ansys.Mechanical.DataModel.Enums.FatigueLoadType | None#

Gets or sets the LoadingType.

property FatigueTool.MaximumDataPointsToPlot: float | None#

Gets or sets the MaximumDataPointsToPlot.

property FatigueTool.MeanStressTheory: Ansys.Mechanical.DataModel.Enums.MeanStressTheoryType | None#

Gets or sets the MeanStressTheory.

property FatigueTool.MethodSelection: Ansys.Mechanical.DataModel.Enums.FatigueToolMethod | None#

Gets or sets the MethodSelection.

property FatigueTool.Name: str | None#

Name property.

property FatigueTool.ObjectId: int | None#

ObjectId property.

property FatigueTool.ObjectState: Ansys.Mechanical.DataModel.Enums.ObjectState | None#

ObjectState property.

property FatigueTool.ObjectTags: Iterable[Ansys.Mechanical.DataModel.Interfaces.IObjectTag] | None#

ObjectTags property.

property FatigueTool.OneCycleIsEqualTo: Ansys.Core.Units.Quantity | None#

Gets or sets the OneCycleIsEqualTo.

property FatigueTool.Parent: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

Parent property.

property FatigueTool.Properties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#

Gets the list of properties for this object.

property FatigueTool.ResultsInput: Ansys.Mechanical.DataModel.Enums.FatigueToolResultsInputType | None#

Gets or sets the ResultsInput.

property FatigueTool.ScaleFactor: float | None#

Gets or sets the ScaleFactor.

property FatigueTool.State: Ansys.Mechanical.DataModel.Enums.Legacy.State | None#

State property.

property FatigueTool.StressComponent: Ansys.Mechanical.DataModel.Enums.FatigueStressComponentType | None#

Gets or sets the StressComponent.

property FatigueTool.UnitsName: Ansys.Mechanical.DataModel.Enums.LifeUnitsType | None#

Gets or sets the UnitsName.

property FatigueTool.UseQuickRainflowCounting: bool | None#

Gets or sets the UseQuickRainflowCounting.

property FatigueTool.VisibleProperties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#

Gets the list of properties that are visible for this object.

Method detail#

FatigueTool.Activate() None#

Activate the current object.

FatigueTool.AddBiaxialityIndication() Ansys.ACT.Automation.Mechanical.Results.FatigueToolResults.FatigueBiaxialityIndication#

Creates a new FatigueBiaxialityIndication

FatigueTool.AddComment() Ansys.ACT.Automation.Mechanical.Comment#

Creates a new child Comment.

FatigueTool.AddDamage() Ansys.ACT.Automation.Mechanical.Results.FatigueToolResults.FatigueDamage#

Creates a new FatigueDamage

FatigueTool.AddDamageMatrix() Ansys.ACT.Automation.Mechanical.Results.FatigueToolResults.FatigueDamageMatrix#

Creates a new FatigueDamageMatrix

FatigueTool.AddEquivalentAlternativeStress() Ansys.ACT.Automation.Mechanical.Results.FatigueToolResults.FatigueEquivalentAlternativeStress#

Creates a new FatigueEquivalentAlternativeStress

FatigueTool.AddFatigueSensitivity() Ansys.ACT.Automation.Mechanical.Results.FatigueToolResults.FatigueSensitivity#

Creates a new FatigueSensitivity

FatigueTool.AddHysteresis() Ansys.ACT.Automation.Mechanical.Results.FatigueToolResults.FatigueHysteresis#

Creates a new FatigueHysteresis

FatigueTool.AddImage(filePath: str) Ansys.ACT.Automation.Mechanical.Image#
Creates a new child Image.
If a filePath is provided, the image will be loaded from that file,
if not, the image will be a screen capture of the Geometry window.
FatigueTool.AddLife() Ansys.ACT.Automation.Mechanical.Results.FatigueToolResults.FatigueLife#

Creates a new FatigueLife

FatigueTool.AddRainflowMatrix() Ansys.ACT.Automation.Mechanical.Results.FatigueToolResults.FatigueRainflowMatrix#

Creates a new FatigueRainflowMatrix

FatigueTool.AddSafetyFactor() Ansys.ACT.Automation.Mechanical.Results.FatigueToolResults.FatigueSafetyFactor#

Creates a new FatigueSafetyFactor

FatigueTool.ClearGeneratedData() None#

Run the ClearGeneratedData action.

FatigueTool.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#

Copies all visible properties from this object to another.

FatigueTool.CreateObjRef(requestedType: type) System.Runtime.Remoting.ObjRef#

CreateObjRef method.

FatigueTool.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Creates a new parameter for a Property.

FatigueTool.Delete() None#

Run the Delete action.

FatigueTool.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject#

Creates a copy of the current DataModelObject.

FatigueTool.DuplicateWithoutResults() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject#

Run the DuplicateWithoutResults action.

FatigueTool.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#

Equals method.

FatigueTool.EvaluateAllResults() None#

Run the EvaluateAllResults action.

FatigueTool.GetAPIName(dispId: int) str#

Property name bound to dispId.

FatigueTool.GetAllProperties() List[Ansys.ACT.Automation.Mechanical.AutomationPropertyWrapper]#

GetAllProperties method.

FatigueTool.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType]#

Gets the list of children, filtered by type.

FatigueTool.GetDetailsView() Ansys.ACT.Automation.Mechanical.DetailsViewData#

GetDetailsView method.

FatigueTool.GetEnumName(enumType: type, value: int, dispId: int) str#

Enum name bound to value

FatigueTool.GetHashCode() int#

GetHashCode method.

FatigueTool.GetIconFile() System.Byte#

GetIconFile method.

FatigueTool.GetLifetimeService() Any#

GetLifetimeService method.

FatigueTool.GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext) None#

GetObjectData method.

FatigueTool.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Gets the parameter corresponding to the given property.

FatigueTool.GetPath() str#

GetPath method.

FatigueTool.GetPropertyName(dispId: int) str#

GetPropertyName method.

FatigueTool.GetPropertyValue(name: str) Any#

GetPropertyValue method.

FatigueTool.GetType() type#

GetType method.

FatigueTool.GetUnitString(obj: Ansys.Common.Interop.DSObjectsAuto.IDSFatigueToolAuto) str#

GetUnitString method.

FatigueTool.GetVisibleProperties() List[System.Reflection.PropertyInfo]#

GetVisibleProperties method.

FatigueTool.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

FatigueTool.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

FatigueTool.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder#

Run the GroupSimilarObjects action.

FatigueTool.InitializeLifetimeService() Any#

InitializeLifetimeService method.

FatigueTool.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

FatigueTool.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

FatigueTool.PropertyByAPIName(name: str) Ansys.ACT.Automation.Mechanical.Property#
Get a property by its API name.
If multiple properties have the same API Name, only the first property with that name will be returned.
FatigueTool.PropertyById(dispId: int) Ansys.ACT.Automation.Mechanical.Property#

PropertyById method.

FatigueTool.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#

Get a property by its unique name.

FatigueTool.RemoveParameter(propName: str) None#

Removes the parameter from the parameter set corresponding to the given property.

FatigueTool.ToString() str#

ToString method.