MeshEdit#

class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.MeshEdit#

Bases: object

Defines a MeshEdit.

Overview#

Activate

Activate the current object.

AddComment

Creates a new child Comment.

AddContactMatchGroup

Creates a new ContactMatchGroup

AddDirectMorph

Creates a new DirectMorph

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

AddManualMeshConnection

Add a new ManualMeshConnection

AddMeshConnectionGroup

Creates a new MeshConnectionGroup

AddNodeMerge

Add a new NodeMerge.

AddNodeMergeGroup

Creates a new NodeMergeGroup

AddNodeMove

Creates a new NodeMove

AddPullExtrude

Creates a new MeshExtrude

AddPullRevolve

Creates a new MeshExtrude

AddPullSurfaceCoating

Creates a new MeshExtrude

ClearGeneratedData

Clear the generated data.

CopyTo

Copies all visible properties from this object to another.

CreateNamedSelectionForSharedNodes

Run the CreateNamedSelectionForSharedNodes action.

CreateParameter

Creates a new parameter for a Property.

Duplicate

Creates a copy of the current DataModelObject.

Generate

Generate all mesh edits.

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.

SearchConnectionsForDuplicatePairs

Run the SearchConnectionsForDuplicatePairs action.

AssociateToPullGeometry

To Migrate Boundary Conditions from profile to resulting Pull bodies.

Children

Gets the list of children.

Comments

Gets the list of associated comments.

DataModelObjectCategory

Gets the current DataModelObject's category.

Figures

Gets the list of associated figures.

GenerateAutomaticMeshConnectionsOnRefresh

Gets or sets the GenerateAutomaticMeshConnectionsOnRefresh.

Images

Gets the list of associated images.

InternalObject

Gets the internal object. For advanced usage only.

Properties

Gets the list of properties for this object.

TransparencyEnabled

Gets or sets the TransparencyEnabled.

VisibleProperties

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

Property detail#

property MeshEdit.AssociateToPullGeometry: bool | None#

To Migrate Boundary Conditions from profile to resulting Pull bodies.

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

Gets the list of children.

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

Gets the list of associated comments.

property MeshEdit.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None#

Gets the current DataModelObject's category.

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

Gets the list of associated figures.

property MeshEdit.GenerateAutomaticMeshConnectionsOnRefresh: Ansys.Mechanical.DataModel.Enums.AutomaticOrManual | None#

Gets or sets the GenerateAutomaticMeshConnectionsOnRefresh.

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

Gets the list of associated images.

property MeshEdit.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSMeshConnectionsParentAuto | None#

Gets the internal object. For advanced usage only.

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

Gets the list of properties for this object.

property MeshEdit.TransparencyEnabled: bool | None#

Gets or sets the TransparencyEnabled.

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

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

Method detail#

MeshEdit.Activate() None#

Activate the current object.

MeshEdit.AddComment() Ansys.ACT.Automation.Mechanical.Comment#

Creates a new child Comment.

MeshEdit.AddContactMatchGroup() Ansys.ACT.Automation.Mechanical.ContactMatchGroup#

Creates a new ContactMatchGroup

MeshEdit.AddDirectMorph() Ansys.ACT.Automation.Mechanical.DirectMorph#

Creates a new DirectMorph

MeshEdit.AddFigure() Ansys.ACT.Automation.Mechanical.Figure#

Creates a new child Figure.

MeshEdit.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.
MeshEdit.AddManualMeshConnection() None#

Add a new ManualMeshConnection

MeshEdit.AddMeshConnectionGroup() Ansys.ACT.Automation.Mechanical.MeshConnectionGroup#

Creates a new MeshConnectionGroup

MeshEdit.AddNodeMerge() None#

Add a new NodeMerge.

MeshEdit.AddNodeMergeGroup() Ansys.ACT.Automation.Mechanical.NodeMergeGroup#

Creates a new NodeMergeGroup

MeshEdit.AddNodeMove() Ansys.ACT.Automation.Mechanical.NodeMove#

Creates a new NodeMove

MeshEdit.AddPullExtrude() Ansys.ACT.Automation.Mechanical.MeshExtrude#

Creates a new MeshExtrude

MeshEdit.AddPullRevolve() Ansys.ACT.Automation.Mechanical.MeshExtrude#

Creates a new MeshExtrude

MeshEdit.AddPullSurfaceCoating() Ansys.ACT.Automation.Mechanical.MeshExtrude#

Creates a new MeshExtrude

MeshEdit.ClearGeneratedData() None#

Clear the generated data.

MeshEdit.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#

Copies all visible properties from this object to another.

MeshEdit.CreateNamedSelectionForSharedNodes() None#

Run the CreateNamedSelectionForSharedNodes action.

MeshEdit.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Creates a new parameter for a Property.

MeshEdit.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject#

Creates a copy of the current DataModelObject.

MeshEdit.Generate() None#

Generate all mesh edits.

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

Gets the list of children, filtered by type.

MeshEdit.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Gets the parameter corresponding to the given property.

MeshEdit.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

MeshEdit.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder#

Run the GroupSimilarObjects action.

MeshEdit.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.
MeshEdit.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#

Get a property by its unique name.

MeshEdit.RemoveParameter(propName: str) None#

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

MeshEdit.RenameBasedOnDefinition() None#

Run the RenameBasedOnDefinition action.

MeshEdit.SearchConnectionsForDuplicatePairs() None#

Run the SearchConnectionsForDuplicatePairs action.