StressTool
Last update: 14.01.2025
StressTool
class Ansys.ACT.Automation.Mechanical.Results.StressToolResults.StressTool
Bases: object
Defines a StressTool.
Overview
Methods
Name | Description |
---|---|
Activate |
Activate the current object. |
AddComment |
Creates a new child Comment. |
AddFigure |
Creates a new child Figure. |
AddImage |
Creates a new child Image. |
AddSafetyFactor |
Creates a new StressSafetyFactor |
AddSafetyMargin |
Creates a new StressSafetyMargin |
AddStressRatio |
Creates a new StressRatio |
CopyTo |
Copies all visible properties from this object to another. |
CreateParameter |
Creates a new parameter for a Property. |
Delete |
Run the Delete action. |
Duplicate |
Creates a copy of the current DataModelObject. |
EvaluateAllResults |
Run the EvaluateAllResults 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. |
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. |
Properties
Name | Description |
---|---|
Children |
Gets the list of children. |
Comments |
Gets the list of associated comments. |
CompressiveLimit |
Gets or sets the CompressiveLimit. |
CompressiveLimitType |
Gets or sets the CompressiveLimitType. |
DataModelObjectCategory |
Gets the current DataModelObject’s category. |
Figures |
Gets the list of associated figures. |
Images |
Gets the list of associated images. |
InternalObject |
Gets the internal object. For advanced usage only. |
LimitFactor |
Gets or sets the LimitFactor. |
Properties |
Gets the list of properties for this object. |
StressLimit |
Gets or sets the StressLimit. |
StressLimitType |
Gets or sets the StressLimitType. |
TensileLimit |
Gets or sets the TensileLimit. |
TensileLimitType |
Gets or sets the TensileLimitType. |
Theory |
Gets or sets the Theory. |
VisibleProperties |
Gets the list of properties that are visible for this object. |
Property detail
property StressTool.Children : List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None
Gets the list of children.
property StressTool.Comments : Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None
Gets the list of associated comments.
property StressTool.CompressiveLimit : Ansys.Core.Units.Quantity | None
Gets or sets the CompressiveLimit.
property StressTool.CompressiveLimitType : Ansys.Mechanical.DataModel.Enums.SafetyLimitType | None
Gets or sets the CompressiveLimitType.
property StressTool.DataModelObjectCategory : Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None
Gets the current DataModelObject’s category.
property StressTool.Figures : Iterable[Ansys.ACT.Automation.Mechanical.Figure] | None
Gets the list of associated figures.
property StressTool.Images : Iterable[Ansys.ACT.Automation.Mechanical.Image] | None
Gets the list of associated images.
property StressTool.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSStressSafetyToolAuto | None
Gets the internal object. For advanced usage only.
property StressTool.LimitFactor : float | None
Gets or sets the LimitFactor.
property StressTool.Properties : tuple[Ansys.ACT.Automation.Mechanical.Property] | None
Gets the list of properties for this object.
property StressTool.StressLimit : Ansys.Core.Units.Quantity | None
Gets or sets the StressLimit.
property StressTool.StressLimitType : Ansys.Mechanical.DataModel.Enums.SafetyLimitType | None
Gets or sets the StressLimitType.
property StressTool.TensileLimit : Ansys.Core.Units.Quantity | None
Gets or sets the TensileLimit.
property StressTool.TensileLimitType : Ansys.Mechanical.DataModel.Enums.SafetyLimitType | None
Gets or sets the TensileLimitType.
property StressTool.Theory : Ansys.Mechanical.DataModel.Enums.SafetyTheoryType | None
Gets or sets the Theory.
property StressTool.VisibleProperties : tuple[Ansys.ACT.Automation.Mechanical.Property] | None
Gets the list of properties that are visible for this object.
Method detail
StressTool.Activate()
Activate the current object.
StressTool.AddComment()
Creates a new child Comment.
StressTool.AddFigure()
Creates a new child Figure.
StressTool.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.
StressTool.AddSafetyFactor()
Creates a new StressSafetyFactor
StressTool.AddSafetyMargin()
Creates a new StressSafetyMargin
StressTool.AddStressRatio()
Creates a new StressRatio
StressTool.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject)
Copies all visible properties from this object to another.
StressTool.CreateParameter(propName: str)
Creates a new parameter for a Property.
StressTool.Delete()
Run the Delete action.
StressTool.Duplicate()
Creates a copy of the current DataModelObject.
StressTool.EvaluateAllResults()
Run the EvaluateAllResults action.
StressTool.GetChildren(recurses: bool, children: List[ChildrenType])
Gets the list of children, filtered by type.
StressTool.GetParameter(propName: str)
Gets the parameter corresponding to the given property.
StressTool.GroupAllSimilarChildren()
Run the GroupAllSimilarChildren action.
StressTool.GroupSimilarObjects()
Run the GroupSimilarObjects action.
StressTool.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.
StressTool.PropertyByName(name: str)
Get a property by its unique name.
StressTool.RemoveParameter(propName: str)
Removes the parameter from the parameter set corresponding to the given property.