Skip to main content

Mechanical scripting interface

DirectionalStress

Last update: 14.01.2025

class Ansys.ACT.Automation.Mechanical.Results.StressResults.DirectionalStress

Bases: object

Defines a DirectionalStress.

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
Amplitude Gets or sets the Amplitude.
Average Gets the Average.
AverageAcrossBodies Gets or sets the AverageAcrossBodies.
AverageRadiusOfCurvature Gets or sets the AverageRadiusOfCurvature.
BendingInside Gets the BendingInside.
BendingOutside Gets the BendingOutside.
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.
CyclicMode Gets or sets the CyclicMode.
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.
EnvironmentSelection Gets or sets the EnvironmentSelection.
Figures Gets the list of associated figures.
Frequency Gets or sets the Frequency.
GlobalIDs Gets or sets the GlobalIDs.
GraphControlsXAxis Gets or sets the GraphControlsXAxis.
HarmonicIndex Gets or sets the HarmonicIndex.
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.
IterationStep Gets or sets the IterationStep.
Layer Gets or sets the Layer.
Linearized2DBehavior Gets or sets the Linearized2DBehavior.
LoadMultiplier Gets the LoadMultiplier.
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.
Membrane Gets the Membrane.
MembraneBendingCenter Gets the MembraneBendingCenter.
MembraneBendingInside Gets the MembraneBendingInside.
MembraneBendingOutside Gets the MembraneBendingOutside.
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.
NormalOrientation Gets or sets the NormalOrientation.
Path Path property.
PeakCenter Gets the PeakCenter.
PeakInside Gets the PeakInside.
PeakOutside Gets the PeakOutside.
PhaseIncrement Gets or sets the PhaseIncrement.
Plies Plies property.
PlotData Gets the result table.
Ply Gets or sets the Ply selection.
Position Gets or sets the Position.
Probability Gets the Probability.
Properties Gets the list of properties for this object.
RPMSelection Gets or sets the RPM Selection value at which the results are evaluated.
ReportedFrequency Gets the ReportedFrequency.
ScaleFactor Gets or sets the ScaleFactor.
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.
StressStrainType Gets or sets the StressStrainType.
SubScopeBy Gets or sets the SubScopeBy.
Substep Gets the Substep.
Subtype Gets or sets the Subtype.
Suppressed Gets or sets the Suppressed.
Surface Surface property.
SurfaceCoating SurfaceCoating property.
SweepingPhase Gets or sets the SweepingPhase.
ThroughThicknessBendingStress Gets or sets the ThroughThicknessBendingStress.
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.
TotalCenter Gets the TotalCenter.
TotalInside Gets the TotalInside.
TotalOutside Gets the TotalOutside.
VisibleProperties Gets the list of properties that are visible for this object.

Property detail

property DirectionalStress.Amplitude : bool | None

Gets or sets the Amplitude.

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

Gets the Average.

property DirectionalStress.AverageAcrossBodies : bool | None

Gets or sets the AverageAcrossBodies.

property DirectionalStress.AverageRadiusOfCurvature : Ansys.Core.Units.Quantity | None

Gets or sets the AverageRadiusOfCurvature.

property DirectionalStress.BendingInside : Ansys.Core.Units.Quantity | None

Gets the BendingInside.

property DirectionalStress.BendingOutside : Ansys.Core.Units.Quantity | None

Gets the BendingOutside.

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

Gets or sets the By.

property DirectionalStress.CalculateTimeHistory : bool | None

Gets or sets the CalculateTimeHistory.

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

Gets the list of children.

property DirectionalStress.CombinationNumber : int | None

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

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

Gets the list of associated comments.

property DirectionalStress.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 DirectionalStress.CrackFrontNumber : int | None

Gets or sets the CrackFrontNumber.

property DirectionalStress.CyclicMode : int | None

Gets or sets the CyclicMode.

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

Gets the current DataModelObject’s category.

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

Gets or sets the DisplayOption.

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

Gets or sets the DisplayTime.

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

Gets or sets the DpfEvaluation.

property DirectionalStress.EnvironmentSelection : Ansys.ACT.Automation.Mechanical.Analysis | None

Gets or sets the EnvironmentSelection.

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

Gets the list of associated figures.

property DirectionalStress.Frequency : Ansys.Core.Units.Quantity | None

Gets or sets the Frequency.

property DirectionalStress.GlobalIDs : str | None

Gets or sets the GlobalIDs.

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

Gets or sets the GraphControlsXAxis.

property DirectionalStress.HarmonicIndex : int | None

Gets or sets the HarmonicIndex.

property DirectionalStress.Identifier : str | None

Gets or sets the Identifier.

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

Gets the list of associated images.

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

Gets the internal object. For advanced usage only.

property DirectionalStress.IsSolved : bool | None

Gets the IsSolved.

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

Gets or sets the ItemType.

property DirectionalStress.IterationNumber : int | None

Gets the IterationNumber.

property DirectionalStress.IterationStep : int | None

Gets or sets the IterationStep.

property DirectionalStress.Layer : int | None

Gets or sets the Layer.

property DirectionalStress.Linearized2DBehavior : Ansys.Mechanical.DataModel.Enums.Linearized2DBehavior | None

Gets or sets the Linearized2DBehavior.

property DirectionalStress.LoadMultiplier : float | None

Gets the LoadMultiplier.

property DirectionalStress.LoadStep : int | None

Gets the LoadStep.

property DirectionalStress.LoadStepForMaximumOfMaximumValues : int | None

Get the Load Step for the maximum of maximum values.

property DirectionalStress.LoadStepForMaximumOfMinimumValues : int | None

Get the Load Step for the maximum of minimum values.

property DirectionalStress.LoadStepForMinimumOfMaximumValues : int | None

Get the Load Step for the minimum of maximum values.

property DirectionalStress.LoadStepForMinimumOfMinimumValues : int | None

Get the Load Step for the minimum of minimum values.

property DirectionalStress.LoadStepNumber : int | None

Gets or sets the LoadStepNumber.

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

Gets or sets the Location.

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

Gets the Maximum.

property DirectionalStress.MaximumOccursOn : str | None

Gets the MaximumOccursOn.

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

Gets the MaximumOfMaximumOverTime.

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

Gets the MaximumOfMinimumOverTime.

property DirectionalStress.Membrane : Ansys.Core.Units.Quantity | None

Gets the Membrane.

property DirectionalStress.MembraneBendingCenter : Ansys.Core.Units.Quantity | None

Gets the MembraneBendingCenter.

property DirectionalStress.MembraneBendingInside : Ansys.Core.Units.Quantity | None

Gets the MembraneBendingInside.

property DirectionalStress.MembraneBendingOutside : Ansys.Core.Units.Quantity | None

Gets the MembraneBendingOutside.

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

Gets the Minimum.

property DirectionalStress.MinimumOccursOn : str | None

Gets the MinimumOccursOn.

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

Gets the MinimumOfMaximumOverTime.

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

Gets the MinimumOfMinimumOverTime.

property DirectionalStress.Mode : int | None

Gets or sets the Mode.

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

Gets or sets the NamedSelections.

property DirectionalStress.NormalOrientation : Ansys.Mechanical.DataModel.Enums.NormalOrientationType | None

Gets or sets the NormalOrientation.

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

Path property.

property DirectionalStress.PeakCenter : Ansys.Core.Units.Quantity | None

Gets the PeakCenter.

property DirectionalStress.PeakInside : Ansys.Core.Units.Quantity | None

Gets the PeakInside.

property DirectionalStress.PeakOutside : Ansys.Core.Units.Quantity | None

Gets the PeakOutside.

property DirectionalStress.PhaseIncrement : Ansys.Core.Units.Quantity | None

Gets or sets the PhaseIncrement.

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

Plies property.

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

Gets the result table.

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

Gets or sets the Ply selection.

property DirectionalStress.Position : Ansys.Mechanical.DataModel.Enums.ShellFaceType | None

Gets or sets the Position.

property DirectionalStress.Probability : float | None

Gets the Probability.

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

Gets the list of properties for this object.

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

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

property DirectionalStress.ReportedFrequency : Ansys.Core.Units.Quantity | None

Gets the ReportedFrequency.

property DirectionalStress.ScaleFactor : Ansys.Mechanical.DataModel.Enums.ScaleFactorType | None

Gets or sets the ScaleFactor.

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

Gets or sets the ScopingMethod.

property DirectionalStress.SetNumber : int | None

Gets or sets the Set Number.

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

Gets or sets the SolutionCombinationDriver.

property DirectionalStress.SolverComponentIDs : str | None

Gets or sets the SolverComponentIDs.

property DirectionalStress.StressStrainType : Ansys.Mechanical.DataModel.Enums.StressStrainType | None

Gets or sets the StressStrainType.

property DirectionalStress.SubScopeBy : Ansys.Mechanical.DataModel.Enums.SubScopingDefineByType | None

Gets or sets the SubScopeBy.

property DirectionalStress.Substep : int | None

Gets the Substep.

property DirectionalStress.Subtype : Ansys.Mechanical.DataModel.Enums.LinearizedSubtype | None

Gets or sets the Subtype.

property DirectionalStress.Suppressed : bool | None

Gets or sets the Suppressed.

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

Surface property.

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

SurfaceCoating property.

property DirectionalStress.SweepingPhase : Ansys.Core.Units.Quantity | None

Gets or sets the SweepingPhase.

property DirectionalStress.ThroughThicknessBendingStress : Ansys.Mechanical.DataModel.Enums.ThroughThicknessBendingStress | None

Gets or sets the ThroughThicknessBendingStress.

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

Gets the Time.

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

Get the Time for the maximum of maximum values.

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

Get the Time for the maximum of minimum values.

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

Get the Time for the minimum of maximum values.

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

Get the Time for the minimum of minimum values.

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

Gets the Total.

property DirectionalStress.TotalCenter : Ansys.Core.Units.Quantity | None

Gets the TotalCenter.

property DirectionalStress.TotalInside : Ansys.Core.Units.Quantity | None

Gets the TotalInside.

property DirectionalStress.TotalOutside : Ansys.Core.Units.Quantity | None

Gets the TotalOutside.

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

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

Method detail

DirectionalStress.Activate()

Activate the current object.

DirectionalStress.AddAlert()

Creates a new Alert

DirectionalStress.AddComment()

Creates a new child Comment.

DirectionalStress.AddConvergence()

Creates a new Convergence

DirectionalStress.AddFigure()

Creates a new child Figure.

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

DirectionalStress.ClearGeneratedData()

Run the ClearGeneratedData action.

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

Copies all visible properties from this object to another.

DirectionalStress.CreateParameter(propName: str)

CreateParameter method.

DirectionalStress.CreateResultsAtAllSets()

Creates results at all sets for results under a solution.

DirectionalStress.Delete()

Run the Delete action.

DirectionalStress.Duplicate()

Creates a copy of the current DataModelObject.

DirectionalStress.DuplicateWithoutResults()

Run the DuplicateWithoutResults action.

DirectionalStress.EvaluateAllResults()

Run the EvaluateAllResults action.

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

Run the ExportAnimation action.

DirectionalStress.ExportToTextFile(filePath: str)

Run the ExportToTextFile action.

DirectionalStress.FetchRemoteResults()

Run the FetchRemoteResult action.

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

Gets the list of children, filtered by type.

DirectionalStress.GetParameter(propName: str)

Gets the parameter corresponding to the given property.

DirectionalStress.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

DirectionalStress.GroupSimilarObjects()

Run the GroupSimilarObjects action.

DirectionalStress.PromoteToNamedSelection()

Run the PromoteToNamedSelection action.

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

DirectionalStress.PropertyByName(name: str)

Get a property by its unique name.

DirectionalStress.RemoveParameter(propName: str)

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

DirectionalStress.RenameBasedOnDefinition()

Run the RenameBasedOnDefinition action.