Skip to main content

Mechanical scripting interface 2025

`CurrentDensityProbe`

Last update: 09.03.2026

class Ansys.ACT.Automation.Mechanical.Results.ProbeResults.CurrentDensityProbe

Bases: object

Defines a CurrentDensityProbe.

Overview

Methods

Name Description
Activate Activate the current object.
AddComment Creates a new child Comment.
AddFigure Creates a new child Figure.
AddImage Creates a new child Image.
ClearGeneratedData Run the ClearGeneratedData action.
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.
DuplicateWithoutResults Run the DuplicateWithoutResults action.
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.
RetrieveResult Evaluates the individual probe result without evaluating all the results in the same solution.
SnapToMeshNodes Snap the coordinates of probe result to the mesh nodes.

Properties

Name Description
BeamSelection Gets or sets the BeamSelection.
BoundaryConditionSelection Gets or sets the BoundaryConditionSelection. In order to select the option ‘WeakSprings’, please use the property ‘LocationMethod = LocationDefinitionMethod.WeakSprings’.
Children Gets the list of children.
Comments Gets the list of associated comments.
ContactRegionSelection Gets or sets the ContactRegionSelection.
CoordinateSystemSelection Gets or sets the CoordinateSystemSelection.
CurrentDensityTotal Gets the CurrentDensityTotal.
DataModelObjectCategory Gets the current DataModelObject’s category.
DisplayTime Gets or sets the DisplayTime.
DpfEvaluation Gets or sets the DpfEvaluation.
Figures Gets the list of associated figures.
GeometryLocation Gets or sets the GeometryLocation.
Images Gets the list of associated images.
InternalObject Gets the internal object. For advanced usage only.
IsSolved Gets the IsSolved.
IterationNumber Gets the IterationNumber.
LoadStep Gets the LoadStep.
LoadStepNumber Gets or sets the LoadStepNumber.
LocationMethod Gets or sets the LocationMethod.
MaximumTotal Gets the MaximumTotal.
MaximumXAxis Gets the MaximumXAxis.
MaximumYAxis Gets the MaximumYAxis.
MaximumZAxis Gets the MaximumZAxis.
MeshConnectionSelection Gets or sets the MeshConnectionSelection.
MinimumTotal Gets the MinimumTotal.
MinimumXAxis Gets the MinimumXAxis.
MinimumYAxis Gets the MinimumYAxis.
MinimumZAxis Gets the MinimumZAxis.
Orientation Gets or sets the Orientation. Accepts/Returns None if it is the Solution Coordinate System.
Properties Gets the list of properties for this object.
RPMSelection Gets or sets the RPM Selection value at which the results are evaluated.
RemotePointSelection Gets or sets the RemotePointSelection.
ResultSelection Gets or sets the ResultSelection.
SpatialResolution Gets or sets the SpatialResolution.
SpringSelection Gets or sets the SpringSelection.
Substep Gets the Substep.
Summation Gets or sets the Summation.
Suppressed Gets or sets the Suppressed.
SurfaceSelection Gets or sets the MeshConnectionSelection.
Time Gets the Time.
Total Gets the Total.
Type Gets the Type.
VisibleProperties Gets the list of properties that are visible for this object.
XAxis Gets the XAxis.
XAxisCurrentDensity Gets the XAxisCurrentDensity.
YAxis Gets the YAxis.
YAxisCurrentDensity Gets the YAxisCurrentDensity.
ZAxis Gets the ZAxis.
ZAxisCurrentDensity Gets the ZAxisCurrentDensity.

Property detail

property CurrentDensityProbe.BeamSelection : Ansys.ACT.Automation.Mechanical.Connections.Beam | None

Gets or sets the BeamSelection.

property CurrentDensityProbe.BoundaryConditionSelection : Ansys.ACT.Automation.Mechanical.DataModelObject | None

Gets or sets the BoundaryConditionSelection. In order to select the option ‘WeakSprings’, please use the property ‘LocationMethod = LocationDefinitionMethod.WeakSprings’.

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

Gets the list of children.

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

Gets the list of associated comments.

property CurrentDensityProbe.ContactRegionSelection : Ansys.ACT.Automation.Mechanical.Connections.ContactRegion | None

Gets or sets the ContactRegionSelection.

property CurrentDensityProbe.CoordinateSystemSelection : Ansys.ACT.Automation.Mechanical.CoordinateSystem | None

Gets or sets the CoordinateSystemSelection.

property CurrentDensityProbe.CurrentDensityTotal : Ansys.Core.Units.Quantity | None

Gets the CurrentDensityTotal.

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

Gets the current DataModelObject’s category.

property CurrentDensityProbe.DisplayTime : Ansys.Core.Units.Quantity | None

Gets or sets the DisplayTime.

property CurrentDensityProbe.DpfEvaluation : Ansys.Mechanical.DataModel.Enums.DpfEvaluationType | None

Gets or sets the DpfEvaluation.

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

Gets the list of associated figures.

property CurrentDensityProbe.GeometryLocation : Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the GeometryLocation.

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

Gets the list of associated images.

property CurrentDensityProbe.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSProbeResultAuto | None

Gets the internal object. For advanced usage only.

property CurrentDensityProbe.IsSolved : bool | None

Gets the IsSolved.

property CurrentDensityProbe.IterationNumber : int | None

Gets the IterationNumber.

property CurrentDensityProbe.LoadStep : int | None

Gets the LoadStep.

property CurrentDensityProbe.LoadStepNumber : int | None

Gets or sets the LoadStepNumber.

property CurrentDensityProbe.LocationMethod : Ansys.Mechanical.DataModel.Enums.LocationDefinitionMethod | None

Gets or sets the LocationMethod.

property CurrentDensityProbe.MaximumTotal : Ansys.Core.Units.Quantity | None

Gets the MaximumTotal.

property CurrentDensityProbe.MaximumXAxis : Ansys.Core.Units.Quantity | None

Gets the MaximumXAxis.

property CurrentDensityProbe.MaximumYAxis : Ansys.Core.Units.Quantity | None

Gets the MaximumYAxis.

property CurrentDensityProbe.MaximumZAxis : Ansys.Core.Units.Quantity | None

Gets the MaximumZAxis.

property CurrentDensityProbe.MeshConnectionSelection : Ansys.ACT.Automation.Mechanical.MeshConnection | None

Gets or sets the MeshConnectionSelection.

property CurrentDensityProbe.MinimumTotal : Ansys.Core.Units.Quantity | None

Gets the MinimumTotal.

property CurrentDensityProbe.MinimumXAxis : Ansys.Core.Units.Quantity | None

Gets the MinimumXAxis.

property CurrentDensityProbe.MinimumYAxis : Ansys.Core.Units.Quantity | None

Gets the MinimumYAxis.

property CurrentDensityProbe.MinimumZAxis : Ansys.Core.Units.Quantity | None

Gets the MinimumZAxis.

property CurrentDensityProbe.Orientation : Ansys.ACT.Automation.Mechanical.CoordinateSystem | None

Gets or sets the Orientation. Accepts/Returns None if it is the Solution Coordinate System.

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

Gets the list of properties for this object.

property CurrentDensityProbe.RPMSelection : Ansys.Core.Units.Quantity | None

Gets or sets the RPM Selection value at which the results are evaluated.

property CurrentDensityProbe.RemotePointSelection : Ansys.ACT.Automation.Mechanical.RemotePoint | None

Gets or sets the RemotePointSelection.

property CurrentDensityProbe.ResultSelection : Ansys.Mechanical.DataModel.Enums.ProbeDisplayFilter | None

Gets or sets the ResultSelection.

property CurrentDensityProbe.SpatialResolution : Ansys.Mechanical.DataModel.Enums.MinimumOrMaximum | None

Gets or sets the SpatialResolution.

property CurrentDensityProbe.SpringSelection : Ansys.ACT.Automation.Mechanical.Connections.Spring | None

Gets or sets the SpringSelection.

property CurrentDensityProbe.Substep : int | None

Gets the Substep.

property CurrentDensityProbe.Summation : Ansys.Mechanical.DataModel.Enums.MomentsAtSummationPointType | None

Gets or sets the Summation.

property CurrentDensityProbe.Suppressed : bool | None

Gets or sets the Suppressed.

property CurrentDensityProbe.SurfaceSelection : Ansys.ACT.Automation.Mechanical.Surface | None

Gets or sets the MeshConnectionSelection.

property CurrentDensityProbe.Time : Ansys.Core.Units.Quantity | None

Gets the Time.

property CurrentDensityProbe.Total : Ansys.Core.Units.Quantity | None

Gets the Total.

property CurrentDensityProbe.Type : Ansys.Mechanical.DataModel.Enums.ProbeResultType | None

Gets the Type.

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

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

property CurrentDensityProbe.XAxis : Ansys.Core.Units.Quantity | None

Gets the XAxis.

property CurrentDensityProbe.XAxisCurrentDensity : Ansys.Core.Units.Quantity | None

Gets the XAxisCurrentDensity.

property CurrentDensityProbe.YAxis : Ansys.Core.Units.Quantity | None

Gets the YAxis.

property CurrentDensityProbe.YAxisCurrentDensity : Ansys.Core.Units.Quantity | None

Gets the YAxisCurrentDensity.

property CurrentDensityProbe.ZAxis : Ansys.Core.Units.Quantity | None

Gets the ZAxis.

property CurrentDensityProbe.ZAxisCurrentDensity : Ansys.Core.Units.Quantity | None

Gets the ZAxisCurrentDensity.

Method detail

CurrentDensityProbe.Activate() → None

Activate the current object.

CurrentDensityProbe.AddComment() → Ansys.ACT.Automation.Mechanical.Comment

Creates a new child Comment.

CurrentDensityProbe.AddFigure() → Ansys.ACT.Automation.Mechanical.Figure

Creates a new child Figure.

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

CurrentDensityProbe.ClearGeneratedData() → None

Run the ClearGeneratedData action.

CurrentDensityProbe.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) → None

Copies all visible properties from this object to another.

CurrentDensityProbe.CreateParameter(propName: str) → Ansys.ACT.Interfaces.Mechanical.IParameter

Creates a new parameter for a Property.

CurrentDensityProbe.Delete() → None

Run the Delete action.

CurrentDensityProbe.Duplicate() → Ansys.Mechanical.DataModel.Interfaces.IDataModelObject

Creates a copy of the current DataModelObject.

CurrentDensityProbe.DuplicateWithoutResults() → Ansys.ACT.Automation.Mechanical.DataModelObject

Run the DuplicateWithoutResults action.

CurrentDensityProbe.EvaluateAllResults() → None

Run the EvaluateAllResults action.

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

Run the ExportAnimation action.

CurrentDensityProbe.GetChildren(recurses: bool, children: List[ChildrenType]) → List[ChildrenType]

Gets the list of children, filtered by type.

CurrentDensityProbe.GetParameter(propName: str) → Ansys.ACT.Interfaces.Mechanical.IParameter

Gets the parameter corresponding to the given property.

CurrentDensityProbe.GroupAllSimilarChildren() → None

Run the GroupAllSimilarChildren action.

CurrentDensityProbe.GroupSimilarObjects() → Ansys.ACT.Automation.Mechanical.TreeGroupingFolder

Run the GroupSimilarObjects action.

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

CurrentDensityProbe.PropertyByName(name: str) → Ansys.ACT.Automation.Mechanical.Property

Get a property by its unique name.

CurrentDensityProbe.RemoveParameter(propName: str) → None

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

CurrentDensityProbe.RenameBasedOnDefinition() → None

Run the RenameBasedOnDefinition action.

CurrentDensityProbe.RetrieveResult() → None

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

CurrentDensityProbe.SnapToMeshNodes() → None

Snap the coordinates of probe result to the mesh nodes.

Connect with Ansys