TopologyOptimizationResult#

class ansys.mechanical.stubs.v241.Ansys.ACT.Automation.Mechanical.Results.TopologyOptimizationResult#

Bases: object

Defines a TopologyOptimizationResult.

Overview#

ClearGeneratedData

Clears the result.

EvaluateAllResults

Run the EvaluateAllResults action.

ExportAnimation

Run the ExportAnimation action.

RenameBasedOnDefinition

Run the RenameBasedOnDefinition action.

Delete

Run the Delete action.

GetChildren

Gets the list of children, filtered by type.

GetChildren

Gets the list of children, filtered by type.

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

Activate

Activate the current object.

CopyTo

Copies all visible properties from this object to another.

Duplicate

Creates a copy of the current DataModelObject.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

PropertyByName

Get a property by its unique name.

PropertyByAPIName

Get a property by its API name.

CreateParameter

Creates a new parameter for a Property.

GetParameter

Gets the parameter corresponding to the given property.

RemoveParameter

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

Location

Gets or sets the Location.

InternalObject

Gets the internal object. For advanced usage only.

IterationNumber

Gets the IterationNumber.

IterationStep

Gets or sets the IterationStep.

Maximum

Gets the Maximum.

Minimum

Gets the Minimum.

PercentMassOfOriginal

Gets the PercentMassOfOriginal.

PercentVolumeOfOriginal

Gets the PercentVolumeOfOriginal.

FinalMass

Gets the FinalMass.

FinalVolume

Gets the FinalVolume.

OriginalMass

Gets the OriginalMass.

OriginalVolume

Gets the OriginalVolume.

ScopingMethod

Gets or sets the ScopingMethod.

ShowOptimizedRegion

Gets or sets the ShowOptimizedRegion.

CalculateTimeHistory

Gets or sets the CalculateTimeHistory.

ExclusionsParticipation

Gets or sets the ExclusionsParticipation.

Suppressed

Gets or sets the Suppressed.

Selection

Gets or sets the Selection.

DataModelObjectCategory

Gets the current DataModelObject’s category.

Children

Gets the list of children.

Comments

Gets the list of associated comments.

Figures

Gets the list of associated figures.

Images

Gets the list of associated images.

InternalObject

Gets the internal object. For advanced usage only.

Properties

Gets the list of properties for this object.

VisibleProperties

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

Property detail#

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

Gets or sets the Location.

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

Gets the internal object. For advanced usage only.

property TopologyOptimizationResult.IterationNumber: System.Int32 | None

Gets the IterationNumber.

property TopologyOptimizationResult.IterationStep: System.Int32 | None

Gets or sets the IterationStep.

property TopologyOptimizationResult.Maximum: System.Double | None

Gets the Maximum.

property TopologyOptimizationResult.Minimum: System.Double | None

Gets the Minimum.

property TopologyOptimizationResult.PercentMassOfOriginal: System.Double | None

Gets the PercentMassOfOriginal.

property TopologyOptimizationResult.PercentVolumeOfOriginal: System.Double | None

Gets the PercentVolumeOfOriginal.

property TopologyOptimizationResult.FinalMass: Ansys.Core.Units.Quantity | None

Gets the FinalMass.

property TopologyOptimizationResult.FinalVolume: Ansys.Core.Units.Quantity | None

Gets the FinalVolume.

property TopologyOptimizationResult.OriginalMass: Ansys.Core.Units.Quantity | None

Gets the OriginalMass.

property TopologyOptimizationResult.OriginalVolume: Ansys.Core.Units.Quantity | None

Gets the OriginalVolume.

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

Gets or sets the ScopingMethod.

property TopologyOptimizationResult.ShowOptimizedRegion: Ansys.Mechanical.DataModel.Enums.TopologyOptimizationResultShowType | None

Gets or sets the ShowOptimizedRegion.

property TopologyOptimizationResult.CalculateTimeHistory: System.Boolean | None

Gets or sets the CalculateTimeHistory.

property TopologyOptimizationResult.ExclusionsParticipation: System.Boolean | None

Gets or sets the ExclusionsParticipation.

property TopologyOptimizationResult.Suppressed: System.Boolean | None

Gets or sets the Suppressed.

property TopologyOptimizationResult.Selection: Ansys.ACT.Automation.Mechanical.OptimizationRegion | None

Gets or sets the Selection.

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

Gets the current DataModelObject’s category.

property TopologyOptimizationResult.Children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None

Gets the list of children.

property TopologyOptimizationResult.Comments: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Comment] | None

Gets the list of associated comments.

property TopologyOptimizationResult.Figures: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Figure] | None

Gets the list of associated figures.

property TopologyOptimizationResult.Images: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Image] | None

Gets the list of associated images.

property TopologyOptimizationResult.InternalObject: System.Object | None

Gets the internal object. For advanced usage only.

property TopologyOptimizationResult.Properties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None

Gets the list of properties for this object.

property TopologyOptimizationResult.VisibleProperties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None

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

Method detail#

TopologyOptimizationResult.ClearGeneratedData() System.Void

Clears the result.

TopologyOptimizationResult.EvaluateAllResults() System.Void

Run the EvaluateAllResults action.

TopologyOptimizationResult.ExportAnimation(filePath: System.String, format: Ansys.Mechanical.DataModel.Enums.GraphicsAnimationExportFormat, settings: Ansys.Mechanical.Graphics.AnimationExportSettings) System.Void

Run the ExportAnimation action.

TopologyOptimizationResult.RenameBasedOnDefinition() System.Void

Run the RenameBasedOnDefinition action.

TopologyOptimizationResult.Delete() System.Void

Run the Delete action.

TopologyOptimizationResult.GetChildren(recurses: System.Boolean, children: System.Collections.Generic.IList[ChildrenType]) System.Collections.Generic.IList[ChildrenType]

Gets the list of children, filtered by type.

TopologyOptimizationResult.GetChildren(category: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory, recurses: System.Boolean, children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]) System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]

Gets the list of children, filtered by type.

TopologyOptimizationResult.AddComment() Ansys.ACT.Automation.Mechanical.Comment

Creates a new child Comment.

TopologyOptimizationResult.AddFigure() Ansys.ACT.Automation.Mechanical.Figure

Creates a new child Figure.

TopologyOptimizationResult.AddImage(filePath: System.String) 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.
TopologyOptimizationResult.Activate() System.Void

Activate the current object.

TopologyOptimizationResult.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) System.Void

Copies all visible properties from this object to another.

TopologyOptimizationResult.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject

Creates a copy of the current DataModelObject.

TopologyOptimizationResult.GroupAllSimilarChildren() System.Void

Run the GroupAllSimilarChildren action.

TopologyOptimizationResult.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder

Run the GroupSimilarObjects action.

TopologyOptimizationResult.PropertyByName(name: System.String) Ansys.ACT.Automation.Mechanical.Property

Get a property by its unique name.

TopologyOptimizationResult.PropertyByAPIName(name: System.String) 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.
TopologyOptimizationResult.CreateParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter

Creates a new parameter for a Property.

TopologyOptimizationResult.GetParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter

Gets the parameter corresponding to the given property.

TopologyOptimizationResult.RemoveParameter(propName: System.String) System.Void

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