StressTool
#
- class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.Results.StressToolResults.StressTool#
Bases:
object
Defines a StressTool.
Overview#
Activate the current object. |
|
Creates a new child Comment. |
|
Creates a new child Figure. |
|
Creates a new child Image. |
|
Creates a new StressSafetyFactor |
|
Creates a new StressSafetyMargin |
|
Creates a new StressRatio |
|
Copies all visible properties from this object to another. |
|
Creates a new parameter for a Property. |
|
Run the Delete action. |
|
Creates a copy of the current DataModelObject. |
|
Run the EvaluateAllResults action. |
|
Gets the list of children, filtered by type. |
|
Gets the parameter corresponding to the given property. |
|
Run the GroupAllSimilarChildren action. |
|
Run the GroupSimilarObjects action. |
|
Get a property by its API name. |
|
Get a property by its unique name. |
|
Removes the parameter from the parameter set corresponding to the given property. |
Gets the list of children. |
|
Gets the list of associated comments. |
|
Gets or sets the CompressiveLimit. |
|
Gets or sets the CompressiveLimitType. |
|
Gets the current DataModelObject's category. |
|
Gets the list of associated figures. |
|
Gets the list of associated images. |
|
Gets the internal object. For advanced usage only. |
|
Gets or sets the LimitFactor. |
|
Gets the list of properties for this object. |
|
Gets or sets the StressLimit. |
|
Gets or sets the StressLimitType. |
|
Gets or sets the TensileLimit. |
|
Gets or sets the TensileLimitType. |
|
Gets or sets the Theory. |
|
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.Properties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#
Gets the list of properties for this object.
- property StressTool.StressLimitType: Ansys.Mechanical.DataModel.Enums.SafetyLimitType | None#
Gets or sets the StressLimitType.
- 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.
Method detail#
- StressTool.AddComment() Ansys.ACT.Automation.Mechanical.Comment #
Creates a new child Comment.
- StressTool.AddFigure() Ansys.ACT.Automation.Mechanical.Figure #
Creates a new child Figure.
- StressTool.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.
- StressTool.AddSafetyFactor() Ansys.ACT.Automation.Mechanical.Results.StressToolResults.StressSafetyFactor #
Creates a new StressSafetyFactor
- StressTool.AddSafetyMargin() Ansys.ACT.Automation.Mechanical.Results.StressToolResults.StressSafetyMargin #
Creates a new StressSafetyMargin
- StressTool.AddStressRatio() Ansys.ACT.Automation.Mechanical.Results.StressToolResults.StressRatio #
Creates a new StressRatio
- StressTool.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None #
Copies all visible properties from this object to another.
- StressTool.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter #
Creates a new parameter for a Property.
- StressTool.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject #
Creates a copy of the current DataModelObject.
- StressTool.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType] #
Gets the list of children, filtered by type.
- StressTool.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter #
Gets the parameter corresponding to the given property.
- StressTool.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder #
Run the GroupSimilarObjects action.
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.