TopologyElementalDensity#

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

Bases: object

Defines a TopologyElementalDensity.

Overview#

Activate

Activate the current object.

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

ClearGeneratedData

Clears the result.

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.

ExportAnimation

Run the ExportAnimation 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.

RenameBasedOnDefinition

Run the RenameBasedOnDefinition action.

CalculateTimeHistory

Gets or sets the CalculateTimeHistory.

Children

Gets the list of children.

Comments

Gets the list of associated comments.

DataModelObjectCategory

Gets the current DataModelObject's category.

ExclusionsParticipation

Gets or sets the ExclusionsParticipation.

Figures

Gets the list of associated figures.

FinalMass

Gets the FinalMass.

FinalVolume

Gets the FinalVolume.

Images

Gets the list of associated images.

InternalObject

Gets the internal object. For advanced usage only.

IterationNumber

Gets the IterationNumber.

IterationStep

Gets or sets the IterationStep.

Location

Gets or sets the Location.

Maximum

Gets the Maximum.

Minimum

Gets the Minimum.

OriginalMass

Gets the OriginalMass.

OriginalVolume

Gets the OriginalVolume.

PercentMassOfOriginal

Gets the PercentMassOfOriginal.

PercentVolumeOfOriginal

Gets the PercentVolumeOfOriginal.

Properties

Gets the list of properties for this object.

RetainedThreshold

Gets or sets the RetainedThreshold.

ScopingMethod

Gets or sets the ScopingMethod.

Selection

Gets or sets the Selection.

ShowOptimizedRegion

Gets or sets the ShowOptimizedRegion.

Suppressed

Gets or sets the Suppressed.

VisibleProperties

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

Property detail#

property TopologyElementalDensity.CalculateTimeHistory: bool | None#

Gets or sets the CalculateTimeHistory.

property TopologyElementalDensity.Children: List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None#

Gets the list of children.

property TopologyElementalDensity.Comments: Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None#

Gets the list of associated comments.

property TopologyElementalDensity.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None#

Gets the current DataModelObject's category.

property TopologyElementalDensity.ExclusionsParticipation: bool | None#

Gets or sets the ExclusionsParticipation.

property TopologyElementalDensity.Figures: Iterable[Ansys.ACT.Automation.Mechanical.Figure] | None#

Gets the list of associated figures.

property TopologyElementalDensity.FinalMass: Ansys.Core.Units.Quantity | None#

Gets the FinalMass.

property TopologyElementalDensity.FinalVolume: Ansys.Core.Units.Quantity | None#

Gets the FinalVolume.

property TopologyElementalDensity.Images: Iterable[Ansys.ACT.Automation.Mechanical.Image] | None#

Gets the list of associated images.

property TopologyElementalDensity.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSResultAuto | None#

Gets the internal object. For advanced usage only.

property TopologyElementalDensity.IterationNumber: int | None#

Gets the IterationNumber.

property TopologyElementalDensity.IterationStep: int | None#

Gets or sets the IterationStep.

property TopologyElementalDensity.Location: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the Location.

property TopologyElementalDensity.Maximum: float | None#

Gets the Maximum.

property TopologyElementalDensity.Minimum: float | None#

Gets the Minimum.

property TopologyElementalDensity.OriginalMass: Ansys.Core.Units.Quantity | None#

Gets the OriginalMass.

property TopologyElementalDensity.OriginalVolume: Ansys.Core.Units.Quantity | None#

Gets the OriginalVolume.

property TopologyElementalDensity.PercentMassOfOriginal: float | None#

Gets the PercentMassOfOriginal.

property TopologyElementalDensity.PercentVolumeOfOriginal: float | None#

Gets the PercentVolumeOfOriginal.

property TopologyElementalDensity.Properties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#

Gets the list of properties for this object.

property TopologyElementalDensity.RetainedThreshold: float | None#

Gets or sets the RetainedThreshold.

property TopologyElementalDensity.ScopingMethod: Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None#

Gets or sets the ScopingMethod.

property TopologyElementalDensity.Selection: Ansys.ACT.Automation.Mechanical.OptimizationRegion | None#

Gets or sets the Selection.

property TopologyElementalDensity.ShowOptimizedRegion: Ansys.Mechanical.DataModel.Enums.TopologyOptimizationResultShowType | None#

Gets or sets the ShowOptimizedRegion.

property TopologyElementalDensity.Suppressed: bool | None#

Gets or sets the Suppressed.

property TopologyElementalDensity.VisibleProperties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#

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

Method detail#

TopologyElementalDensity.Activate() None#

Activate the current object.

TopologyElementalDensity.AddComment() Ansys.ACT.Automation.Mechanical.Comment#

Creates a new child Comment.

TopologyElementalDensity.AddFigure() Ansys.ACT.Automation.Mechanical.Figure#

Creates a new child Figure.

TopologyElementalDensity.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.
TopologyElementalDensity.ClearGeneratedData() None#

Clears the result.

TopologyElementalDensity.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#

Copies all visible properties from this object to another.

TopologyElementalDensity.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Creates a new parameter for a Property.

TopologyElementalDensity.Delete() None#

Run the Delete action.

TopologyElementalDensity.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject#

Creates a copy of the current DataModelObject.

TopologyElementalDensity.EvaluateAllResults() None#

Run the EvaluateAllResults action.

TopologyElementalDensity.ExportAnimation(filePath: str, format: Ansys.Mechanical.DataModel.Enums.GraphicsAnimationExportFormat, settings: Ansys.Mechanical.Graphics.AnimationExportSettings) None#

Run the ExportAnimation action.

TopologyElementalDensity.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType]#

Gets the list of children, filtered by type.

TopologyElementalDensity.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Gets the parameter corresponding to the given property.

TopologyElementalDensity.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

TopologyElementalDensity.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder#

Run the GroupSimilarObjects action.

TopologyElementalDensity.PropertyByAPIName(name: str) 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.
TopologyElementalDensity.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#

Get a property by its unique name.

TopologyElementalDensity.RemoveParameter(propName: str) None#

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

TopologyElementalDensity.RenameBasedOnDefinition() None#

Run the RenameBasedOnDefinition action.