NamedSelection
#
- class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.NamedSelection#
Bases:
object
Defines a NamedSelection.
Overview#
Activate the current object. |
|
Creates a new child Comment. |
|
Creates a new child Figure. |
|
Creates a new child Image. |
|
Copies all visible properties from this object to another. |
|
Creates a new Named Selection object containing all the nodes from the entities in the current named selection . |
|
Creates a new parameter for a Property. |
|
Run the Delete action. |
|
Creates a copy of the current DataModelObject. |
|
Export Named Selection to CDB file |
|
Run the ExportToTextFile action. |
|
Generates the selection based on the generation criteria. |
|
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. |
Gets the list of children. |
|
Gets the list of associated comments. |
|
Gets the CrackFrontNumber. |
|
Gets the CreatedForCrack. |
|
Gets the current DataModelObject's category. |
|
Gets the list of associated figures. |
|
Returns the generation criteria that is used to generate the selection. |
|
Gets the list of associated images. |
|
Gets or sets the IncludeProgramControlledInflation. |
|
Gets the internal object. For advanced usage only. |
|
Gets or sets the LSDynaUserId. |
|
Gets or sets the Location. |
|
Gets or sets the PreserveDuringSolve. |
|
Gets the list of properties for this object. |
|
Gets or sets the ReadOnly. |
|
Gets or sets the RelativeTolerance. |
|
Gets or sets the ScopingMethod. |
|
Gets or sets the SendAs. |
|
Gets or sets the SendToSolver. |
|
Gets the Suppressed. |
|
Gets or sets the ToleranceType. |
|
Gets the TotalSelection. |
|
Gets the Type. |
|
Gets the UsedByMeshWorksheet. |
|
Gets or sets the Visible. |
|
Gets the list of properties that are visible for this object. |
|
Gets or sets the ZeroTolerance. |
Property detail#
- property NamedSelection.Children: List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None#
Gets the list of children.
- property NamedSelection.Comments: Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None#
Gets the list of associated comments.
- property NamedSelection.CreatedForCrack: Ansys.ACT.Automation.Mechanical.GenericCrack | None#
Gets the CreatedForCrack.
- property NamedSelection.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None#
Gets the current DataModelObject's category.
- property NamedSelection.Figures: Iterable[Ansys.ACT.Automation.Mechanical.Figure] | None#
Gets the list of associated figures.
- property NamedSelection.GenerationCriteria: Ansys.ACT.Automation.Mechanical.NamedSelectionCriteria | None#
Returns the generation criteria that is used to generate the selection.
- property NamedSelection.Images: Iterable[Ansys.ACT.Automation.Mechanical.Image] | None#
Gets the list of associated images.
- property NamedSelection.IncludeProgramControlledInflation: bool | None#
Gets or sets the IncludeProgramControlledInflation.
- property NamedSelection.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSComponentAuto | None#
Gets the internal object. For advanced usage only.
- property NamedSelection.Location: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#
Gets or sets the Location.
- property NamedSelection.Properties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#
Gets the list of properties for this object.
- property NamedSelection.ScopingMethod: Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None#
Gets or sets the ScopingMethod.
- property NamedSelection.SendAs: Ansys.Mechanical.DataModel.Enums.SendAs | None#
Gets or sets the SendAs.
- property NamedSelection.ToleranceType: Ansys.Mechanical.DataModel.Enums.ToleranceType | None#
Gets or sets the ToleranceType.
Method detail#
- NamedSelection.AddComment() Ansys.ACT.Automation.Mechanical.Comment #
Creates a new child Comment.
- NamedSelection.AddFigure() Ansys.ACT.Automation.Mechanical.Figure #
Creates a new child Figure.
- NamedSelection.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.
- NamedSelection.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None #
Copies all visible properties from this object to another.
- NamedSelection.CreateNodalNamedSelection() Ansys.ACT.Automation.Mechanical.NamedSelection #
Creates a new Named Selection object containing all the nodes from the entities in the current named selection .
- NamedSelection.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter #
Creates a new parameter for a Property.
- NamedSelection.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject #
Creates a copy of the current DataModelObject.
- NamedSelection.ExportNamedSelectionToCDBFile(filepath: str) None #
Export Named Selection to CDB file
- NamedSelection.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType] #
Gets the list of children, filtered by type.
- NamedSelection.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter #
Gets the parameter corresponding to the given property.
- NamedSelection.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.