TopologyMultiDensity#

class ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.Results.TopologyMultiDensity(internalObject: Any)#

Bases: object

Defines a TopologyMultiDensity.

Overview#

Activate

Activate the current object.

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

AddSmoothing

Insert Smoothing Object

ClearGeneratedData

Clears the result.

CopyTo

Copies all visible properties from this object to another.

CreateObjRef

CreateObjRef method.

CreateParameter

Creates a new parameter for a Property.

Delete

Run the Delete action.

Duplicate

Creates a copy of the current DataModelObject.

Equals

Equals method.

EvaluateAllResults

Run the EvaluateAllResults action.

ExportAnimation

Run the ExportAnimation action.

GetAPIName

Property name bound to dispId.

GetAllProperties

GetAllProperties method.

GetChildren

Gets the list of children, filtered by type.

GetDetailsView

GetDetailsView method.

GetEnumName

Enum name bound to value

GetHashCode

GetHashCode method.

GetIconFile

GetIconFile method.

GetLifetimeService

GetLifetimeService method.

GetObjectData

GetObjectData method.

GetParameter

Gets the parameter corresponding to the given property.

GetPath

GetPath method.

GetPropertyName

GetPropertyName method.

GetPropertyValue

GetPropertyValue method.

GetType

GetType method.

GetVisibleProperties

GetVisibleProperties method.

GetVisiblePropertyNames

GetVisiblePropertyNames method.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

InitializeLifetimeService

InitializeLifetimeService method.

IsPropertyEditable

IsPropertyEditable method.

IsPropertyVisible

IsPropertyVisible method.

PropertyByAPIName

Get a property by its API name.

PropertyById

PropertyById method.

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.

RetrieveResult

Evaluates the individual result without evaluating all the results in the same solution.

ToString

ToString method.

AttachedRefs

AttachedRefs property.

CalculateTimeHistory

Gets or sets the CalculateTimeHistory.

Children

Gets the list of children.

ClsId

ClsId property.

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.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

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.

Name

Name property.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

OriginalMass

Gets the OriginalMass.

OriginalVolume

Gets the OriginalVolume.

Parent

Parent property.

PercentMassOfOriginal

Gets the PercentMassOfOriginal.

PercentVolumeOfOriginal

Gets the PercentVolumeOfOriginal.

Properties

Gets the list of properties for this object.

ScopingMethod

Gets or sets the ScopingMethod.

Selection

Gets or sets the Selection.

ShowOptimizedRegion

Gets or sets the ShowOptimizedRegion.

State

State property.

Suppressed

Gets or sets the Suppressed.

VisibleProperties

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

Property detail#

property TopologyMultiDensity.AttachedRefs: List[int] | None#

AttachedRefs property.

property TopologyMultiDensity.CalculateTimeHistory: bool | None#

Gets or sets the CalculateTimeHistory.

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

Gets the list of children.

property TopologyMultiDensity.ClsId: int | None#

ClsId property.

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

Gets the list of associated comments.

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

Gets the current DataModelObject's category.

property TopologyMultiDensity.ExclusionsParticipation: bool | None#

Gets or sets the ExclusionsParticipation.

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

Gets the list of associated figures.

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

Gets the FinalMass.

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

Gets the FinalVolume.

property TopologyMultiDensity.GroupingFolder: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

GroupingFolder property.

property TopologyMultiDensity.IconName: str | None#

IconName property.

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

Gets the list of associated images.

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

Gets the internal object. For advanced usage only.

property TopologyMultiDensity.IterationNumber: int | None#

Gets the IterationNumber.

property TopologyMultiDensity.IterationStep: int | None#

Gets or sets the IterationStep.

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

Gets or sets the Location.

property TopologyMultiDensity.Maximum: float | None#

Gets the Maximum.

property TopologyMultiDensity.Minimum: float | None#

Gets the Minimum.

property TopologyMultiDensity.Name: str | None#

Name property.

property TopologyMultiDensity.ObjectId: int | None#

ObjectId property.

property TopologyMultiDensity.ObjectState: Ansys.Mechanical.DataModel.Enums.ObjectState | None#

ObjectState property.

property TopologyMultiDensity.ObjectTags: Iterable[Ansys.Mechanical.DataModel.Interfaces.IObjectTag] | None#

ObjectTags property.

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

Gets the OriginalMass.

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

Gets the OriginalVolume.

property TopologyMultiDensity.Parent: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

Parent property.

property TopologyMultiDensity.PercentMassOfOriginal: float | None#

Gets the PercentMassOfOriginal.

property TopologyMultiDensity.PercentVolumeOfOriginal: float | None#

Gets the PercentVolumeOfOriginal.

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

Gets the list of properties for this object.

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

Gets or sets the ScopingMethod.

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

Gets or sets the Selection.

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

Gets or sets the ShowOptimizedRegion.

property TopologyMultiDensity.State: Ansys.Mechanical.DataModel.Enums.Legacy.State | None#

State property.

property TopologyMultiDensity.Suppressed: bool | None#

Gets or sets the Suppressed.

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

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

Method detail#

TopologyMultiDensity.Activate() None#

Activate the current object.

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

Creates a new child Comment.

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

Creates a new child Figure.

TopologyMultiDensity.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.
TopologyMultiDensity.AddSmoothing() Ansys.ACT.Automation.Mechanical.Results.Smoothing#

Insert Smoothing Object

TopologyMultiDensity.ClearGeneratedData() None#

Clears the result.

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

Copies all visible properties from this object to another.

TopologyMultiDensity.CreateObjRef(requestedType: type) System.Runtime.Remoting.ObjRef#

CreateObjRef method.

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

Creates a new parameter for a Property.

TopologyMultiDensity.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

TopologyMultiDensity.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#

Equals method.

TopologyMultiDensity.EvaluateAllResults() None#

Run the EvaluateAllResults action.

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

Run the ExportAnimation action.

TopologyMultiDensity.GetAPIName(dispId: int) str#

Property name bound to dispId.

TopologyMultiDensity.GetAllProperties() List[Ansys.ACT.Automation.Mechanical.AutomationPropertyWrapper]#

GetAllProperties method.

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

Gets the list of children, filtered by type.

TopologyMultiDensity.GetDetailsView() Ansys.ACT.Automation.Mechanical.DetailsViewData#

GetDetailsView method.

TopologyMultiDensity.GetEnumName(enumType: type, value: int, dispId: int) str#

Enum name bound to value

TopologyMultiDensity.GetHashCode() int#

GetHashCode method.

TopologyMultiDensity.GetIconFile() System.Byte#

GetIconFile method.

TopologyMultiDensity.GetLifetimeService() Any#

GetLifetimeService method.

TopologyMultiDensity.GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext) None#

GetObjectData method.

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

Gets the parameter corresponding to the given property.

TopologyMultiDensity.GetPath() str#

GetPath method.

TopologyMultiDensity.GetPropertyName(dispId: int) str#

GetPropertyName method.

TopologyMultiDensity.GetPropertyValue(name: str) Any#

GetPropertyValue method.

TopologyMultiDensity.GetType() type#

GetType method.

TopologyMultiDensity.GetVisibleProperties() List[System.Reflection.PropertyInfo]#

GetVisibleProperties method.

TopologyMultiDensity.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

TopologyMultiDensity.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

TopologyMultiDensity.InitializeLifetimeService() Any#

InitializeLifetimeService method.

TopologyMultiDensity.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

TopologyMultiDensity.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

TopologyMultiDensity.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.
TopologyMultiDensity.PropertyById(dispId: int) Ansys.ACT.Automation.Mechanical.Property#

PropertyById method.

TopologyMultiDensity.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#

Get a property by its unique name.

TopologyMultiDensity.RemoveParameter(propName: str) None#

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

TopologyMultiDensity.RenameBasedOnDefinition() None#

Run the RenameBasedOnDefinition action.

TopologyMultiDensity.RetrieveResult() None#

Evaluates the individual result without evaluating all the results in the same solution.

TopologyMultiDensity.ToString() str#

ToString method.