Skip to main content

Mechanical scripting interface

DamageResult

Last update: 14.01.2025

class Ansys.ACT.Automation.Mechanical.Results.DamageResults.DamageResult

Bases: object

Defines a DamageResult.

Overview

Methods

Name Description
Activate Activate the current object.
AddAlert Creates a new Alert
AddComment Creates a new child Comment.
AddConvergence Creates a new Convergence
AddFigure Creates a new child Figure.
AddImage Creates a new child Image.
ClearGeneratedData Run the ClearGeneratedData action.
CopyTo Copies all visible properties from this object to another.
CreateParameter CreateParameter method.
CreateResultsAtAllSets Creates results at all sets for results under a solution.
Delete Run the Delete action.
Duplicate Creates a copy of the current DataModelObject.
DuplicateWithoutResults Run the DuplicateWithoutResults action.
EvaluateAllResults Run the EvaluateAllResults action.
ExportAnimation Run the ExportAnimation action.
ExportToTextFile Run the ExportToTextFile action.
FetchRemoteResults Run the FetchRemoteResult action.
GetChildren Gets the list of children, filtered by type.
GetParameter Gets the parameter corresponding to the given property.
GroupAllSimilarChildren Run the GroupAllSimilarChildren action.
GroupSimilarObjects Run the GroupSimilarObjects action.
PromoteToNamedSelection Run the PromoteToNamedSelection action.
PropertyByAPIName Get a property by its API name.
PropertyByName Get a property by its unique name.
RemoveParameter Removes the parameter from the parameter set corresponding to the given property.
RenameBasedOnDefinition Run the RenameBasedOnDefinition action.

Properties

Name Description
Average Gets the Average.
By Gets or sets the By.
CalculateTimeHistory Gets or sets the CalculateTimeHistory.
Children Gets the list of children.
CombinationNumber Gets or sets the Combination Number for a Solution Combination result.
Comments Gets the list of associated comments.
CoordinateSystem Gets or sets the Coordinate System.
CrackFrontNumber Gets or sets the CrackFrontNumber.
DamageResultType Gets the DamageResultType.
DataModelObjectCategory Gets the current DataModelObject’s category.
DisplayOption Gets or sets the DisplayOption.
DisplayTime Gets or sets the DisplayTime.
DpfEvaluation Gets or sets the DpfEvaluation.
Figures Gets the list of associated figures.
GlobalIDs Gets or sets the GlobalIDs.
GraphControlsXAxis Gets or sets the GraphControlsXAxis.
Identifier Gets or sets the Identifier.
Images Gets the list of associated images.
InternalObject Gets the internal object. For advanced usage only.
IsSolved Gets the IsSolved.
ItemType Gets or sets the ItemType.
IterationNumber Gets the IterationNumber.
LoadStep Gets the LoadStep.
LoadStepForMaximumOfMaximumValues Get the Load Step for the maximum of maximum values.
LoadStepForMaximumOfMinimumValues Get the Load Step for the maximum of minimum values.
LoadStepForMinimumOfMaximumValues Get the Load Step for the minimum of maximum values.
LoadStepForMinimumOfMinimumValues Get the Load Step for the minimum of minimum values.
LoadStepNumber Gets or sets the LoadStepNumber.
Location Gets or sets the Location.
Maximum Gets the Maximum.
MaximumOccursOn Gets the MaximumOccursOn.
MaximumOfMaximumOverTime Gets the MaximumOfMaximumOverTime.
MaximumOfMinimumOverTime Gets the MaximumOfMinimumOverTime.
Minimum Gets the Minimum.
MinimumOccursOn Gets the MinimumOccursOn.
MinimumOfMaximumOverTime Gets the MinimumOfMaximumOverTime.
MinimumOfMinimumOverTime Gets the MinimumOfMinimumOverTime.
Mode Gets or sets the Mode.
NamedSelections Gets or sets the NamedSelections.
Path Path property.
Plies Plies property.
PlotData Gets the result table.
Ply Gets or sets the Ply selection.
Properties Gets the list of properties for this object.
RPMSelection Gets or sets the RPM Selection value at which the results are evaluated.
ScopingMethod Gets or sets the ScopingMethod.
SetNumber Gets or sets the Set Number.
SolutionCombinationDriver Gets or sets the SolutionCombinationDriver.
SolverComponentIDs Gets or sets the SolverComponentIDs.
Substep Gets the Substep.
Suppressed Gets or sets the Suppressed.
Surface Surface property.
SurfaceCoating SurfaceCoating property.
Time Gets the Time.
TimeForMaximumOfMaximumValues Get the Time for the maximum of maximum values.
TimeForMaximumOfMinimumValues Get the Time for the maximum of minimum values.
TimeForMinimumOfMaximumValues Get the Time for the minimum of maximum values.
TimeForMinimumOfMinimumValues Get the Time for the minimum of minimum values.
Total Gets the Total.
VisibleProperties Gets the list of properties that are visible for this object.

Property detail

property DamageResult.Average : Ansys.Core.Units.Quantity | None

Gets the Average.

property DamageResult.By : Ansys.Mechanical.DataModel.Enums.SetDriverStyle | None

Gets or sets the By.

property DamageResult.CalculateTimeHistory : bool | None

Gets or sets the CalculateTimeHistory.

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

Gets the list of children.

property DamageResult.CombinationNumber : int | None

Gets or sets the Combination Number for a Solution Combination result.

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

Gets the list of associated comments.

property DamageResult.CoordinateSystem : Ansys.ACT.Automation.Mechanical.CoordinateSystem | None

Gets or sets the Coordinate System. Accepts/Returns None for Solution Coordinate System in the general case (if applicable). Accepts/Returns None for Fiber Coordinate System for a result that is sub scoped by ply.

property DamageResult.CrackFrontNumber : int | None

Gets or sets the CrackFrontNumber.

property DamageResult.DamageResultType : Ansys.Mechanical.DataModel.Enums.DamageResultType | None

Gets the DamageResultType.

property DamageResult.DataModelObjectCategory : Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None

Gets the current DataModelObject’s category.

property DamageResult.DisplayOption : Ansys.Mechanical.DataModel.Enums.ResultAveragingType | None

Gets or sets the DisplayOption.

property DamageResult.DisplayTime : Ansys.Core.Units.Quantity | None

Gets or sets the DisplayTime.

property DamageResult.DpfEvaluation : Ansys.Mechanical.DataModel.Enums.DpfEvaluationType | None

Gets or sets the DpfEvaluation.

property DamageResult.Figures : Iterable[Ansys.ACT.Automation.Mechanical.Figure] | None

Gets the list of associated figures.

property DamageResult.GlobalIDs : str | None

Gets or sets the GlobalIDs.

property DamageResult.GraphControlsXAxis : Ansys.Mechanical.DataModel.Enums.GraphControlsXAxis | None

Gets or sets the GraphControlsXAxis.

property DamageResult.Identifier : str | None

Gets or sets the Identifier.

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

Gets the list of associated images.

property DamageResult.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSResultAuto | None

Gets the internal object. For advanced usage only.

property DamageResult.IsSolved : bool | None

Gets the IsSolved.

property DamageResult.ItemType : Ansys.Mechanical.DataModel.Enums.ResultFileItemType | None

Gets or sets the ItemType.

property DamageResult.IterationNumber : int | None

Gets the IterationNumber.

property DamageResult.LoadStep : int | None

Gets the LoadStep.

property DamageResult.LoadStepForMaximumOfMaximumValues : int | None

Get the Load Step for the maximum of maximum values.

property DamageResult.LoadStepForMaximumOfMinimumValues : int | None

Get the Load Step for the maximum of minimum values.

property DamageResult.LoadStepForMinimumOfMaximumValues : int | None

Get the Load Step for the minimum of maximum values.

property DamageResult.LoadStepForMinimumOfMinimumValues : int | None

Get the Load Step for the minimum of minimum values.

property DamageResult.LoadStepNumber : int | None

Gets or sets the LoadStepNumber.

property DamageResult.Location : Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the Location.

property DamageResult.Maximum : Ansys.Core.Units.Quantity | None

Gets the Maximum.

property DamageResult.MaximumOccursOn : str | None

Gets the MaximumOccursOn.

property DamageResult.MaximumOfMaximumOverTime : Ansys.Core.Units.Quantity | None

Gets the MaximumOfMaximumOverTime.

property DamageResult.MaximumOfMinimumOverTime : Ansys.Core.Units.Quantity | None

Gets the MaximumOfMinimumOverTime.

property DamageResult.Minimum : Ansys.Core.Units.Quantity | None

Gets the Minimum.

property DamageResult.MinimumOccursOn : str | None

Gets the MinimumOccursOn.

property DamageResult.MinimumOfMaximumOverTime : Ansys.Core.Units.Quantity | None

Gets the MinimumOfMaximumOverTime.

property DamageResult.MinimumOfMinimumOverTime : Ansys.Core.Units.Quantity | None

Gets the MinimumOfMinimumOverTime.

property DamageResult.Mode : int | None

Gets or sets the Mode.

property DamageResult.NamedSelections : Iterable[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None

Gets or sets the NamedSelections.

property DamageResult.Path : Ansys.ACT.Automation.Mechanical.Path | None

Path property.

property DamageResult.Plies : Iterable[Ansys.ACT.Automation.Mechanical.ImportedPliesCollection] | None

Plies property.

property DamageResult.PlotData : Ansys.Mechanical.DataModel.Results.ResultDataTable | None

Gets the result table.

property DamageResult.Ply : Iterable[Ansys.ACT.Automation.Mechanical.AnalysisPly] | None

Gets or sets the Ply selection.

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

Gets the list of properties for this object.

property DamageResult.RPMSelection : Ansys.Core.Units.Quantity | None

Gets or sets the RPM Selection value at which the results are evaluated.

property DamageResult.ScopingMethod : Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None

Gets or sets the ScopingMethod.

property DamageResult.SetNumber : int | None

Gets or sets the Set Number.

property DamageResult.SolutionCombinationDriver : Ansys.Mechanical.DataModel.Enums.SolutionCombinationDriverStyle | None

Gets or sets the SolutionCombinationDriver.

property DamageResult.SolverComponentIDs : str | None

Gets or sets the SolverComponentIDs.

property DamageResult.Substep : int | None

Gets the Substep.

property DamageResult.Suppressed : bool | None

Gets or sets the Suppressed.

property DamageResult.Surface : Ansys.ACT.Automation.Mechanical.Surface | None

Surface property.

property DamageResult.SurfaceCoating : Ansys.ACT.Automation.Mechanical.SurfaceCoating | None

SurfaceCoating property.

property DamageResult.Time : Ansys.Core.Units.Quantity | None

Gets the Time.

property DamageResult.TimeForMaximumOfMaximumValues : Ansys.Core.Units.Quantity | None

Get the Time for the maximum of maximum values.

property DamageResult.TimeForMaximumOfMinimumValues : Ansys.Core.Units.Quantity | None

Get the Time for the maximum of minimum values.

property DamageResult.TimeForMinimumOfMaximumValues : Ansys.Core.Units.Quantity | None

Get the Time for the minimum of maximum values.

property DamageResult.TimeForMinimumOfMinimumValues : Ansys.Core.Units.Quantity | None

Get the Time for the minimum of minimum values.

property DamageResult.Total : Ansys.Core.Units.Quantity | None

Gets the Total.

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

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

Method detail

DamageResult.Activate()

Activate the current object.

DamageResult.AddAlert()

Creates a new Alert

DamageResult.AddComment()

Creates a new child Comment.

DamageResult.AddConvergence()

Creates a new Convergence

DamageResult.AddFigure()

Creates a new child Figure.

DamageResult.AddImage(filePath: str)

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.

DamageResult.ClearGeneratedData()

Run the ClearGeneratedData action.

DamageResult.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject)

Copies all visible properties from this object to another.

DamageResult.CreateParameter(propName: str)

CreateParameter method.

DamageResult.CreateResultsAtAllSets()

Creates results at all sets for results under a solution.

DamageResult.Delete()

Run the Delete action.

DamageResult.Duplicate()

Creates a copy of the current DataModelObject.

DamageResult.DuplicateWithoutResults()

Run the DuplicateWithoutResults action.

DamageResult.EvaluateAllResults()

Run the EvaluateAllResults action.

DamageResult.ExportAnimation(filePath: str, format: Ansys.Mechanical.DataModel.Enums.GraphicsAnimationExportFormat, settings: Ansys.Mechanical.Graphics.AnimationExportSettings)

Run the ExportAnimation action.

DamageResult.ExportToTextFile(filePath: str)

Run the ExportToTextFile action.

DamageResult.FetchRemoteResults()

Run the FetchRemoteResult action.

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

Gets the list of children, filtered by type.

DamageResult.GetParameter(propName: str)

Gets the parameter corresponding to the given property.

DamageResult.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

DamageResult.GroupSimilarObjects()

Run the GroupSimilarObjects action.

DamageResult.PromoteToNamedSelection()

Run the PromoteToNamedSelection action.

DamageResult.PropertyByAPIName(name: str)

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.

DamageResult.PropertyByName(name: str)

Get a property by its unique name.

DamageResult.RemoveParameter(propName: str)

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

DamageResult.RenameBasedOnDefinition()

Run the RenameBasedOnDefinition action.