Skip to main content

class Ansys.ACT.Automation.Mechanical.MeshEdit

Bases: object Defines a MeshEdit.

Overview

Methods

Properties

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

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

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.