TopoOptAnalysisSettings#

class ansys.mechanical.stubs.v241.Ansys.ACT.Automation.Mechanical.AnalysisSettings.TopoOptAnalysisSettings#

Bases: object

Defines a TopoOptAnalysisSettings.

Overview#

DeleteAllRestartPoints

DeleteAllRestartPoints method.

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.

ExportDesignProperties

Gets or sets the ExportDesignProperties.

ExportDesignPropertiesFileFormat

Gets or sets the ExportDesignPropertiesFileFormat.

InternalObject

Gets the internal object. For advanced usage only.

ConvergenceAccuracy

Gets or sets the ConvergenceAccuracy.

TopoOptInitialDensity

Gets or sets the TopoOptInitialDensity.

MaxNumOfIntermediateFiles

Gets or sets the MaxNumOfIntermediateFiles.

MaximumNumberOfIterations

Gets or sets the MaximumNumberOfIterations.

MinimumNormalizedDensity

Gets or sets the MinimumNormalizedDensity.

StoreResultsAtValue

Gets or sets the StoreResultsAtValue.

PenaltyFactor

Gets or sets the PenaltyFactor.

Algorithm

Gets or sets the Algorithm.

StoreResultsAt

Gets or sets the StoreResultsAt.

FutureAnalysis

Gets or sets the FutureAnalysis.

MultiOptimTypeStrategy

Gets or sets the MultiOptimTypeStrategy.

OptimizationOutputLog

Gets or sets the OptimizationOutputLog.

RegionOfAMOverhangConstraint

Gets or sets the RegionOfAMOverhangConstraint.

RegionOfManufacturingConstraint

Gets or sets the RegionOfManufacturingConstraint.

RegionOfMinMemberSize

Gets or sets the RegionOfMinMemberSize.

SolverUnitSystem

Gets or sets the SolverUnitSystem.

SolverType

Gets or sets the SolverType.

SolverUnits

Gets or sets the SolverUnits.

Filter

Gets or sets the Filter.

DeleteUnneededFiles

Gets or sets the DeleteUnneededFiles.

ExportKnockdownFilePath

Gets or sets the ExportKnockdownFilePath.

SaveMAPDLDB

Gets or sets the SaveMAPDLDB.

DataModelObjectCategory

Gets the current DataModelObject’s category.

Graph

Graph property.

ScratchSolverFilesDirectory

Gets the ScratchSolverFilesDirectory.

SolverFilesDirectory

Gets the SolverFilesDirectory.

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 TopoOptAnalysisSettings.ExportDesignProperties: Ansys.Mechanical.DataModel.Enums.TopoOptimizationExportDesignProperties | None

Gets or sets the ExportDesignProperties.

property TopoOptAnalysisSettings.ExportDesignPropertiesFileFormat: Ansys.Mechanical.DataModel.Enums.TopoOptimizationExportDesignPropertiesFileFormat | None

Gets or sets the ExportDesignPropertiesFileFormat.

property TopoOptAnalysisSettings.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSAnalysisSettings | None

Gets the internal object. For advanced usage only.

property TopoOptAnalysisSettings.ConvergenceAccuracy: System.Double | None

Gets or sets the ConvergenceAccuracy.

property TopoOptAnalysisSettings.TopoOptInitialDensity: System.Double | None

Gets or sets the TopoOptInitialDensity.

property TopoOptAnalysisSettings.MaxNumOfIntermediateFiles: System.UInt32 | None

Gets or sets the MaxNumOfIntermediateFiles.

property TopoOptAnalysisSettings.MaximumNumberOfIterations: System.UInt32 | None

Gets or sets the MaximumNumberOfIterations.

property TopoOptAnalysisSettings.MinimumNormalizedDensity: System.Double | None

Gets or sets the MinimumNormalizedDensity.

property TopoOptAnalysisSettings.StoreResultsAtValue: System.UInt32 | None

Gets or sets the StoreResultsAtValue.

property TopoOptAnalysisSettings.PenaltyFactor: System.Double | None

Gets or sets the PenaltyFactor.

property TopoOptAnalysisSettings.Algorithm: Ansys.Mechanical.DataModel.Enums.AlgorithmType | None

Gets or sets the Algorithm.

property TopoOptAnalysisSettings.StoreResultsAt: Ansys.Mechanical.DataModel.Enums.IterationOptions | None

Gets or sets the StoreResultsAt.

property TopoOptAnalysisSettings.FutureAnalysis: Ansys.Mechanical.DataModel.Enums.FutureIntentType | None

Gets or sets the FutureAnalysis.

property TopoOptAnalysisSettings.MultiOptimTypeStrategy: Ansys.Mechanical.DataModel.Enums.MultiOptimTypeStrategyType | None

Gets or sets the MultiOptimTypeStrategy.

property TopoOptAnalysisSettings.OptimizationOutputLog: Ansys.Mechanical.DataModel.Enums.TopoOptimizationOutputLog | None

Gets or sets the OptimizationOutputLog.

property TopoOptAnalysisSettings.RegionOfAMOverhangConstraint: Ansys.Mechanical.DataModel.Enums.ExclusionParticipantType | None

Gets or sets the RegionOfAMOverhangConstraint.

property TopoOptAnalysisSettings.RegionOfManufacturingConstraint: Ansys.Mechanical.DataModel.Enums.ExclusionParticipantType | None

Gets or sets the RegionOfManufacturingConstraint.

property TopoOptAnalysisSettings.RegionOfMinMemberSize: Ansys.Mechanical.DataModel.Enums.ExclusionParticipantType | None

Gets or sets the RegionOfMinMemberSize.

property TopoOptAnalysisSettings.SolverUnitSystem: Ansys.Mechanical.DataModel.Enums.WBUnitSystemType | None

Gets or sets the SolverUnitSystem.

property TopoOptAnalysisSettings.SolverType: Ansys.Mechanical.DataModel.Enums.OptimizationSolverType | None

Gets or sets the SolverType.

property TopoOptAnalysisSettings.SolverUnits: Ansys.Mechanical.DataModel.Enums.SolverUnitsControlType | None

Gets or sets the SolverUnits.

property TopoOptAnalysisSettings.Filter: Ansys.Mechanical.DataModel.Enums.TopoOptimizationDensityFilter | None

Gets or sets the Filter.

property TopoOptAnalysisSettings.DeleteUnneededFiles: System.Boolean | None

Gets or sets the DeleteUnneededFiles.

property TopoOptAnalysisSettings.ExportKnockdownFilePath: System.Boolean | None

Gets or sets the ExportKnockdownFilePath.

property TopoOptAnalysisSettings.SaveMAPDLDB: System.Boolean | None

Gets or sets the SaveMAPDLDB.

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

Gets the current DataModelObject’s category.

property TopoOptAnalysisSettings.Graph: Ansys.Mechanical.Graphics.AnalysisSettingsGraph | None

Graph property.

property TopoOptAnalysisSettings.ScratchSolverFilesDirectory: System.String | None

Gets the ScratchSolverFilesDirectory.

property TopoOptAnalysisSettings.SolverFilesDirectory: System.String | None

Gets the SolverFilesDirectory.

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

Gets the list of children.

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

Gets the list of associated comments.

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

Gets the list of associated figures.

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

Gets the list of associated images.

property TopoOptAnalysisSettings.InternalObject: System.Object | None

Gets the internal object. For advanced usage only.

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

Gets the list of properties for this object.

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

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

Method detail#

TopoOptAnalysisSettings.DeleteAllRestartPoints() System.Void

DeleteAllRestartPoints method.

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

Gets the list of children, filtered by type.

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

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

Creates a new child Comment.

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

Creates a new child Figure.

TopoOptAnalysisSettings.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.
TopoOptAnalysisSettings.Activate() System.Void

Activate the current object.

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

Copies all visible properties from this object to another.

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

Creates a copy of the current DataModelObject.

TopoOptAnalysisSettings.GroupAllSimilarChildren() System.Void

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

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

Get a property by its unique name.

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

Creates a new parameter for a Property.

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

Gets the parameter corresponding to the given property.

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

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