PrimaryCriterion#
- class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.PrimaryCriterion#
 Bases:
objectDefines a PrimaryCriterion.
Overview#
Activate the current object.  | 
|
Creates a new child Comment.  | 
|
Creates a new child Figure.  | 
|
Creates a new child Image.  | 
|
Run the ClearGeneratedData action.  | 
|
Copies all visible properties from this object to another.  | 
|
Creates a new parameter for a Property.  | 
|
Run the Delete action.  | 
|
Creates a copy of the current DataModelObject.  | 
|
Run the EvaluateAllResults action.  | 
|
Gets the list of children, filtered by type.  | 
|
Gets the parameter corresponding to the given property.  | 
|
Run the GroupAllSimilarChildren action.  | 
|
Run the GroupSimilarObjects action.  | 
|
Get a property by its API name.  | 
|
Get a property by its unique name.  | 
|
Removes the parameter from the parameter set corresponding to the given property.  | 
|
Run the RenameBasedOnDefinition action.  | 
Gets or sets the BaseResult.  | 
|
Gets or sets the BoundaryCondition.  | 
|
Gets the list of children.  | 
|
Gets the list of associated comments.  | 
|
Gets or sets the Coordinate System.  | 
|
Gets the current DataModelObject's category.  | 
|
Gets or sets the DirectionX.  | 
|
Gets or sets the DirectionY.  | 
|
Gets or sets the DirectionZ.  | 
|
Gets or sets the DiscretizationError.  | 
|
Gets the list of associated figures.  | 
|
Gets or sets the FrequencyRangeType.  | 
|
Gets or sets the FrequencyReduction.  | 
|
Gets the list of associated images.  | 
|
Gets the internal object. For advanced usage only.  | 
|
Gets or sets the Location.  | 
|
Gets or sets the LocationMethod.  | 
|
Gets or sets the MaximumFrequency.  | 
|
Gets or sets the MinimumFrequency.  | 
|
Gets or sets the ModeNumber.  | 
|
Gets the list of properties for this object.  | 
|
Gets or sets the ReadOnly.  | 
|
Gets or sets the ReferenceType.  | 
|
Gets or sets the RemotePoint.  | 
|
Gets or sets the RobustFrequenciesReduction.  | 
|
Gets or sets the SpatialReduction.  | 
|
Gets or sets the SpatialReductionMethod.  | 
|
Gets or sets the Step.  | 
|
Gets or sets the Suppressed.  | 
|
Gets the Value.  | 
|
Gets or sets the VectorReduction.  | 
|
Gets the list of properties that are visible for this object.  | 
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.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.Properties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#
 Gets the list of properties for this object.
- 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.Value: Ansys.Core.Units.Quantity | None#
 Gets the Value.
- property PrimaryCriterion.VectorReduction: Ansys.Mechanical.DataModel.Enums.VectorReductionType | None#
 Gets or sets the VectorReduction.
Method detail#
- PrimaryCriterion.AddComment() Ansys.ACT.Automation.Mechanical.Comment#
 Creates a new child Comment.
- PrimaryCriterion.AddFigure() Ansys.ACT.Automation.Mechanical.Figure#
 Creates a new child Figure.
- PrimaryCriterion.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.
- PrimaryCriterion.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#
 Copies all visible properties from this object to another.
- PrimaryCriterion.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#
 Creates a new parameter for a Property.
- PrimaryCriterion.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject#
 Creates a copy of the current DataModelObject.
- PrimaryCriterion.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType]#
 Gets the list of children, filtered by type.
- PrimaryCriterion.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#
 Gets the parameter corresponding to the given property.
- PrimaryCriterion.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder#
 Run the GroupSimilarObjects action.
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.
- PrimaryCriterion.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#
 Get a property by its unique name.