Skip to main content

class Ansys.ACT.Automation.Mechanical.PrimaryCriterion

Bases: object Defines a PrimaryCriterion.

Overview

Methods

Properties

Property detail

property PrimaryCriterion.BaseResult : Ansys.Mechanical.DataModel.Enums.BaseResultType | None

Gets or sets the BaseResult.

property PrimaryCriterion.BoundaryCondition : Ansys.ACT.Automation.Mechanical.DataModelObject | None

Gets or sets the BoundaryCondition.

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

Gets the list of children.

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

Gets the list of associated comments.

property PrimaryCriterion.CoordinateSystem : Ansys.Mechanical.DataModel.Interfaces.ICoordinateSystemSelection | None

Gets or sets the Coordinate System.

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

Gets the current DataModelObject’s category.

property PrimaryCriterion.DirectionX : float | None

Gets or sets the DirectionX.

property PrimaryCriterion.DirectionY : float | None

Gets or sets the DirectionY.

property PrimaryCriterion.DirectionZ : float | None

Gets or sets the DirectionZ.

property PrimaryCriterion.DiscretizationError : float | None

Gets or sets the DiscretizationError.

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

Gets the list of associated figures.

property PrimaryCriterion.FrequencyRangeType : Ansys.Mechanical.DataModel.Enums.CriterionFrequencyRangeType | None

Gets or sets the FrequencyRangeType.

property PrimaryCriterion.FrequencyReduction : Ansys.Mechanical.DataModel.Enums.FrequencyReductionType | None

Gets or sets the FrequencyReduction.

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

Gets the list of associated images.

property PrimaryCriterion.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSTopoCriterionAuto | None

Gets the internal object. For advanced usage only.

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

Gets or sets the Location.

property PrimaryCriterion.LocationMethod : Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None

Gets or sets the LocationMethod.

property PrimaryCriterion.MaximumFrequency : Ansys.Core.Units.Quantity | None

Gets or sets the MaximumFrequency.

property PrimaryCriterion.MinimumFrequency : Ansys.Core.Units.Quantity | None

Gets or sets the MinimumFrequency.

property PrimaryCriterion.ModeNumber : int | None

Gets or sets the ModeNumber.

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

Gets the list of properties for this object.

property PrimaryCriterion.ReadOnly : bool | None

Gets or sets the ReadOnly.

property PrimaryCriterion.ReferenceType : Ansys.Mechanical.DataModel.Enums.VectorReductionReferenceType | None

Gets or sets the ReferenceType.

property PrimaryCriterion.RemotePoint : Ansys.ACT.Automation.Mechanical.RemotePoint | None

Gets or sets the RemotePoint.

property PrimaryCriterion.RobustFrequenciesReduction : Ansys.Mechanical.DataModel.Enums.RobustFrequenciesReductionType | None

Gets or sets the RobustFrequenciesReduction.

property PrimaryCriterion.SpatialReduction : Ansys.Mechanical.DataModel.Enums.SpatialReductionType | None

Gets or sets the SpatialReduction.

property PrimaryCriterion.SpatialReductionMethod : Ansys.Mechanical.DataModel.Enums.SpatialReductionMethodType | None

Gets or sets the SpatialReductionMethod.

property PrimaryCriterion.Step : int | None

Gets or sets the Step.

property PrimaryCriterion.Suppressed : bool | None

Gets or sets the Suppressed.

property PrimaryCriterion.Value : Ansys.Core.Units.Quantity | None

Gets the Value.

property PrimaryCriterion.VectorReduction : Ansys.Mechanical.DataModel.Enums.VectorReductionType | None

Gets or sets the VectorReduction.

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

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

Method detail

PrimaryCriterion.Activate()

Activate the current object.

PrimaryCriterion.AddComment()

Creates a new child Comment.

PrimaryCriterion.AddFigure()

Creates a new child Figure.

PrimaryCriterion.AddImage(filePath: str)

PrimaryCriterion.ClearGeneratedData()

Run the ClearGeneratedData action.

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

Copies all visible properties from this object to another.

PrimaryCriterion.CreateParameter(propName: str)

Creates a new parameter for a Property.

PrimaryCriterion.Delete()

Run the Delete action.

PrimaryCriterion.Duplicate()

Creates a copy of the current DataModelObject.

PrimaryCriterion.EvaluateAllResults()

Run the EvaluateAllResults action.

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

Gets the list of children, filtered by type.

PrimaryCriterion.GetParameter(propName: str)

Gets the parameter corresponding to the given property.

PrimaryCriterion.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

PrimaryCriterion.GroupSimilarObjects()

Run the GroupSimilarObjects action.

PrimaryCriterion.PropertyByAPIName(name: str)

PrimaryCriterion.PropertyByName(name: str)

Get a property by its unique name.

PrimaryCriterion.RemoveParameter(propName: str)

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

PrimaryCriterion.RenameBasedOnDefinition()

Run the RenameBasedOnDefinition action.