Skip to main content

Mechanical scripting interface

DirectionalCurrentDensity

Last update: 14.01.2025

class Ansys.ACT.Automation.Mechanical.Results.ElectricResults.DirectionalCurrentDensity

Bases: object

Defines a DirectionalCurrentDensity.

Overview

Methods

Name Description
Activate Activate the current object.
AddAlert Creates a new Alert
AddComment Creates a new child Comment.
AddConvergence Creates a new Convergence
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 CreateParameter method.
CreateResultsAtAllSets Creates results at all sets for results under a solution.
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.
ExportToTextFile Run the ExportToTextFile action.
FetchRemoteResults Run the FetchRemoteResult 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.
PromoteToNamedSelection Run the PromoteToNamedSelection 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.

Properties

Name Description
Amplitude Gets or sets the Amplitude.
Average Gets the Average.
AverageAcrossBodies Gets or sets the AverageAcrossBodies.
By Gets or sets the By.
CalculateTimeHistory Gets or sets the CalculateTimeHistory.
Children Gets the list of children.
CombinationNumber Gets or sets the Combination Number for a Solution Combination result.
Comments Gets the list of associated comments.
CoordinateSystem Gets or sets the Coordinate System.
CrackFrontNumber Gets or sets the CrackFrontNumber.
DataModelObjectCategory Gets the current DataModelObject’s category.
DisplayOption Gets or sets the DisplayOption.
DisplayTime Gets or sets the DisplayTime.
DpfEvaluation Gets or sets the DpfEvaluation.
ElectricResultType Gets or sets the ElectricResultType.
Figures Gets the list of associated figures.
Frequency Gets or sets the Frequency.
GlobalIDs Gets or sets the GlobalIDs.
GraphControlsXAxis Gets or sets the GraphControlsXAxis.
Identifier Gets or sets the Identifier.
Images Gets the list of associated images.
InternalObject Gets the internal object. For advanced usage only.
IsSolved Gets the IsSolved.
ItemType Gets or sets the ItemType.
IterationNumber Gets the IterationNumber.
LoadStep Gets the LoadStep.
LoadStepForMaximumOfMaximumValues Get the Load Step for the maximum of maximum values.
LoadStepForMaximumOfMinimumValues Get the Load Step for the maximum of minimum values.
LoadStepForMinimumOfMaximumValues Get the Load Step for the minimum of maximum values.
LoadStepForMinimumOfMinimumValues Get the Load Step for the minimum of minimum values.
LoadStepNumber Gets or sets the LoadStepNumber.
Location Gets or sets the Location.
Maximum Gets the Maximum.
MaximumOccursOn Gets the MaximumOccursOn.
MaximumOfMaximumOverTime Gets the MaximumOfMaximumOverTime.
MaximumOfMinimumOverTime Gets the MaximumOfMinimumOverTime.
Minimum Gets the Minimum.
MinimumOccursOn Gets the MinimumOccursOn.
MinimumOfMaximumOverTime Gets the MinimumOfMaximumOverTime.
MinimumOfMinimumOverTime Gets the MinimumOfMinimumOverTime.
NamedSelections Gets or sets the NamedSelections.
NormalOrientation Gets or sets the NormalOrientation.
Path Path property.
PhaseIncrement Gets or sets the PhaseIncrement.
PlotData Gets the result table.
Properties Gets the list of properties for this object.
RPMSelection Gets or sets the RPM Selection value at which the results are evaluated.
ReportedFrequency Gets the ReportedFrequency.
ScopingMethod Gets or sets the ScopingMethod.
SetNumber Gets or sets the Set Number.
SolutionCombinationDriver Gets or sets the SolutionCombinationDriver.
SolverComponentIDs Gets or sets the SolverComponentIDs.
Substep Gets the Substep.
Suppressed Gets or sets the Suppressed.
Surface Surface property.
SurfaceCoating SurfaceCoating property.
SweepingPhase Gets or sets the SweepingPhase.
Time Gets the Time.
TimeForMaximumOfMaximumValues Get the Time for the maximum of maximum values.
TimeForMaximumOfMinimumValues Get the Time for the maximum of minimum values.
TimeForMinimumOfMaximumValues Get the Time for the minimum of maximum values.
TimeForMinimumOfMinimumValues Get the Time for the minimum of minimum values.
Total Gets the Total.
VisibleProperties Gets the list of properties that are visible for this object.

Property detail

property DirectionalCurrentDensity.Amplitude : bool | None

Gets or sets the Amplitude.

property DirectionalCurrentDensity.Average : Ansys.Core.Units.Quantity | None

Gets the Average.

property DirectionalCurrentDensity.AverageAcrossBodies : bool | None

Gets or sets the AverageAcrossBodies.

property DirectionalCurrentDensity.By : Ansys.Mechanical.DataModel.Enums.SetDriverStyle | None

Gets or sets the By.

property DirectionalCurrentDensity.CalculateTimeHistory : bool | None

Gets or sets the CalculateTimeHistory.

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

Gets the list of children.

property DirectionalCurrentDensity.CombinationNumber : int | None

Gets or sets the Combination Number for a Solution Combination result.

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

Gets the list of associated comments.

property DirectionalCurrentDensity.CoordinateSystem : Ansys.ACT.Automation.Mechanical.CoordinateSystem | None

Gets or sets the Coordinate System. Accepts/Returns None for Solution Coordinate System in the general case (if applicable). Accepts/Returns None for Fiber Coordinate System for a result that is sub scoped by ply.

property DirectionalCurrentDensity.CrackFrontNumber : int | None

Gets or sets the CrackFrontNumber.

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

Gets the current DataModelObject’s category.

property DirectionalCurrentDensity.DisplayOption : Ansys.Mechanical.DataModel.Enums.ResultAveragingType | None

Gets or sets the DisplayOption.

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

Gets or sets the DisplayTime.

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

Gets or sets the DpfEvaluation.

property DirectionalCurrentDensity.ElectricResultType : Ansys.Mechanical.DataModel.Enums.TotalOrDirectional | None

Gets or sets the ElectricResultType.

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

Gets the list of associated figures.

property DirectionalCurrentDensity.Frequency : Ansys.Core.Units.Quantity | None

Gets or sets the Frequency.

property DirectionalCurrentDensity.GlobalIDs : str | None

Gets or sets the GlobalIDs.

property DirectionalCurrentDensity.GraphControlsXAxis : Ansys.Mechanical.DataModel.Enums.GraphControlsXAxis | None

Gets or sets the GraphControlsXAxis.

property DirectionalCurrentDensity.Identifier : str | None

Gets or sets the Identifier.

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

Gets the list of associated images.

property DirectionalCurrentDensity.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSResultAuto | None

Gets the internal object. For advanced usage only.

property DirectionalCurrentDensity.IsSolved : bool | None

Gets the IsSolved.

property DirectionalCurrentDensity.ItemType : Ansys.Mechanical.DataModel.Enums.ResultFileItemType | None

Gets or sets the ItemType.

property DirectionalCurrentDensity.IterationNumber : int | None

Gets the IterationNumber.

property DirectionalCurrentDensity.LoadStep : int | None

Gets the LoadStep.

property DirectionalCurrentDensity.LoadStepForMaximumOfMaximumValues : int | None

Get the Load Step for the maximum of maximum values.

property DirectionalCurrentDensity.LoadStepForMaximumOfMinimumValues : int | None

Get the Load Step for the maximum of minimum values.

property DirectionalCurrentDensity.LoadStepForMinimumOfMaximumValues : int | None

Get the Load Step for the minimum of maximum values.

property DirectionalCurrentDensity.LoadStepForMinimumOfMinimumValues : int | None

Get the Load Step for the minimum of minimum values.

property DirectionalCurrentDensity.LoadStepNumber : int | None

Gets or sets the LoadStepNumber.

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

Gets or sets the Location.

property DirectionalCurrentDensity.Maximum : Ansys.Core.Units.Quantity | None

Gets the Maximum.

property DirectionalCurrentDensity.MaximumOccursOn : str | None

Gets the MaximumOccursOn.

property DirectionalCurrentDensity.MaximumOfMaximumOverTime : Ansys.Core.Units.Quantity | None

Gets the MaximumOfMaximumOverTime.

property DirectionalCurrentDensity.MaximumOfMinimumOverTime : Ansys.Core.Units.Quantity | None

Gets the MaximumOfMinimumOverTime.

property DirectionalCurrentDensity.Minimum : Ansys.Core.Units.Quantity | None

Gets the Minimum.

property DirectionalCurrentDensity.MinimumOccursOn : str | None

Gets the MinimumOccursOn.

property DirectionalCurrentDensity.MinimumOfMaximumOverTime : Ansys.Core.Units.Quantity | None

Gets the MinimumOfMaximumOverTime.

property DirectionalCurrentDensity.MinimumOfMinimumOverTime : Ansys.Core.Units.Quantity | None

Gets the MinimumOfMinimumOverTime.

property DirectionalCurrentDensity.NamedSelections : Iterable[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None

Gets or sets the NamedSelections.

property DirectionalCurrentDensity.NormalOrientation : Ansys.Mechanical.DataModel.Enums.NormalOrientationType | None

Gets or sets the NormalOrientation.

property DirectionalCurrentDensity.Path : Ansys.ACT.Automation.Mechanical.Path | None

Path property.

property DirectionalCurrentDensity.PhaseIncrement : Ansys.Core.Units.Quantity | None

Gets or sets the PhaseIncrement.

property DirectionalCurrentDensity.PlotData : Ansys.Mechanical.DataModel.Results.ResultDataTable | None

Gets the result table.

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

Gets the list of properties for this object.

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

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

property DirectionalCurrentDensity.ReportedFrequency : Ansys.Core.Units.Quantity | None

Gets the ReportedFrequency.

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

Gets or sets the ScopingMethod.

property DirectionalCurrentDensity.SetNumber : int | None

Gets or sets the Set Number.

property DirectionalCurrentDensity.SolutionCombinationDriver : Ansys.Mechanical.DataModel.Enums.SolutionCombinationDriverStyle | None

Gets or sets the SolutionCombinationDriver.

property DirectionalCurrentDensity.SolverComponentIDs : str | None

Gets or sets the SolverComponentIDs.

property DirectionalCurrentDensity.Substep : int | None

Gets the Substep.

property DirectionalCurrentDensity.Suppressed : bool | None

Gets or sets the Suppressed.

property DirectionalCurrentDensity.Surface : Ansys.ACT.Automation.Mechanical.Surface | None

Surface property.

property DirectionalCurrentDensity.SurfaceCoating : Ansys.ACT.Automation.Mechanical.SurfaceCoating | None

SurfaceCoating property.

property DirectionalCurrentDensity.SweepingPhase : Ansys.Core.Units.Quantity | None

Gets or sets the SweepingPhase.

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

Gets the Time.

property DirectionalCurrentDensity.TimeForMaximumOfMaximumValues : Ansys.Core.Units.Quantity | None

Get the Time for the maximum of maximum values.

property DirectionalCurrentDensity.TimeForMaximumOfMinimumValues : Ansys.Core.Units.Quantity | None

Get the Time for the maximum of minimum values.

property DirectionalCurrentDensity.TimeForMinimumOfMaximumValues : Ansys.Core.Units.Quantity | None

Get the Time for the minimum of maximum values.

property DirectionalCurrentDensity.TimeForMinimumOfMinimumValues : Ansys.Core.Units.Quantity | None

Get the Time for the minimum of minimum values.

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

Gets the Total.

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

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

Method detail

DirectionalCurrentDensity.Activate()

Activate the current object.

DirectionalCurrentDensity.AddAlert()

Creates a new Alert

DirectionalCurrentDensity.AddComment()

Creates a new child Comment.

DirectionalCurrentDensity.AddConvergence()

Creates a new Convergence

DirectionalCurrentDensity.AddFigure()

Creates a new child Figure.

DirectionalCurrentDensity.AddImage(filePath: str)

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.

DirectionalCurrentDensity.ClearGeneratedData()

Run the ClearGeneratedData action.

DirectionalCurrentDensity.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject)

Copies all visible properties from this object to another.

DirectionalCurrentDensity.CreateParameter(propName: str)

CreateParameter method.

DirectionalCurrentDensity.CreateResultsAtAllSets()

Creates results at all sets for results under a solution.

DirectionalCurrentDensity.Delete()

Run the Delete action.

DirectionalCurrentDensity.Duplicate()

Creates a copy of the current DataModelObject.

DirectionalCurrentDensity.DuplicateWithoutResults()

Run the DuplicateWithoutResults action.

DirectionalCurrentDensity.EvaluateAllResults()

Run the EvaluateAllResults action.

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

Run the ExportAnimation action.

DirectionalCurrentDensity.ExportToTextFile(filePath: str)

Run the ExportToTextFile action.

DirectionalCurrentDensity.FetchRemoteResults()

Run the FetchRemoteResult action.

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

Gets the list of children, filtered by type.

DirectionalCurrentDensity.GetParameter(propName: str)

Gets the parameter corresponding to the given property.

DirectionalCurrentDensity.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

DirectionalCurrentDensity.GroupSimilarObjects()

Run the GroupSimilarObjects action.

DirectionalCurrentDensity.PromoteToNamedSelection()

Run the PromoteToNamedSelection action.

DirectionalCurrentDensity.PropertyByAPIName(name: str)

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.

DirectionalCurrentDensity.PropertyByName(name: str)

Get a property by its unique name.

DirectionalCurrentDensity.RemoveParameter(propName: str)

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

DirectionalCurrentDensity.RenameBasedOnDefinition()

Run the RenameBasedOnDefinition action.