TopologyDensity#

class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.Results.TopologyDensity#

Bases: object

Defines a TopologyDensity.

Overview#

AddSmoothing

Creates a new Smoothing

InsertSmoothing

Insert Smoothing Object

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.

InternalObject

Gets the internal object. For advanced usage only.

RetainedThreshold

Gets or sets the RetainedThreshold.

DataModelObjectCategory

Gets the current DataModelObject’s category.

Location

Gets or sets the Location.

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.

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 TopologyDensity.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSResultAuto | None

Gets the internal object. For advanced usage only.

property TopologyDensity.RetainedThreshold: System.Double | None

Gets or sets the RetainedThreshold.

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

Gets the current DataModelObject’s category.

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

Gets or sets the Location.

property TopologyDensity.IterationNumber: System.Int32 | None

Gets the IterationNumber.

property TopologyDensity.IterationStep: System.Int32 | None

Gets or sets the IterationStep.

property TopologyDensity.Maximum: System.Double | None

Gets the Maximum.

property TopologyDensity.Minimum: System.Double | None

Gets the Minimum.

property TopologyDensity.PercentMassOfOriginal: System.Double | None

Gets the PercentMassOfOriginal.

property TopologyDensity.PercentVolumeOfOriginal: System.Double | None

Gets the PercentVolumeOfOriginal.

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

Gets the FinalMass.

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

Gets the FinalVolume.

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

Gets the OriginalMass.

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

Gets the OriginalVolume.

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

Gets or sets the ScopingMethod.

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

Gets or sets the ShowOptimizedRegion.

property TopologyDensity.CalculateTimeHistory: System.Boolean | None

Gets or sets the CalculateTimeHistory.

property TopologyDensity.ExclusionsParticipation: System.Boolean | None

Gets or sets the ExclusionsParticipation.

property TopologyDensity.Suppressed: System.Boolean | None

Gets or sets the Suppressed.

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

Gets or sets the Selection.

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

Gets the list of children.

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

Gets the list of associated comments.

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

Gets the list of associated figures.

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

Gets the list of associated images.

property TopologyDensity.InternalObject: System.Object | None

Gets the internal object. For advanced usage only.

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

Gets the list of properties for this object.

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

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

Method detail#

TopologyDensity.AddSmoothing() Ansys.ACT.Automation.Mechanical.Results.Smoothing

Creates a new Smoothing

TopologyDensity.InsertSmoothing() System.Void

Insert Smoothing Object

TopologyDensity.ClearGeneratedData() System.Void

Clears the result.

TopologyDensity.EvaluateAllResults() System.Void

Run the EvaluateAllResults action.

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

Run the ExportAnimation action.

TopologyDensity.RenameBasedOnDefinition() System.Void

Run the RenameBasedOnDefinition action.

TopologyDensity.Delete() System.Void

Run the Delete action.

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

Gets the list of children, filtered by type.

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

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

Creates a new child Comment.

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

Creates a new child Figure.

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

Activate the current object.

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

Copies all visible properties from this object to another.

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

Creates a copy of the current DataModelObject.

TopologyDensity.GroupAllSimilarChildren() System.Void

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

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

Get a property by its unique name.

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

Creates a new parameter for a Property.

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

Gets the parameter corresponding to the given property.

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

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