MeshEdit#

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

Bases: object

Defines a MeshEdit.

Overview#

ClearGeneratedData

Clear the generated data.

AddNodeMerge

Add a new NodeMerge.

AddManualMeshConnection

Add a new ManualMeshConnection

Generate

Generate all mesh edits.

SearchConnectionsForDuplicatePairs

Run the SearchConnectionsForDuplicatePairs action.

AddPullExtrude

Creates a new MeshExtrude

AddPullRevolve

Creates a new MeshExtrude

AddPullSurfaceCoating

Creates a new MeshExtrude

AddContactMatchGroup

Creates a new ContactMatchGroup

AddDirectMorph

Creates a new DirectMorph

AddMeshConnectionGroup

Creates a new MeshConnectionGroup

AddNodeMergeGroup

Creates a new NodeMergeGroup

AddNodeMove

Creates a new NodeMove

CreateNamedSelectionForSharedNodes

Run the CreateNamedSelectionForSharedNodes action.

RenameBasedOnDefinition

Run the RenameBasedOnDefinition action.

GetChildren

Gets the list of children, filtered by type.

GetChildren

Gets the list of children, filtered by type.

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

Activate

Activate the current object.

CopyTo

Copies all visible properties from this object to another.

Duplicate

Creates a copy of the current DataModelObject.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

PropertyByName

Get a property by its unique name.

PropertyByAPIName

Get a property by its API name.

CreateParameter

Creates a new parameter for a Property.

GetParameter

Gets the parameter corresponding to the given property.

RemoveParameter

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

InternalObject

Gets the internal object. For advanced usage only.

GenerateAutomaticMeshConnectionsOnRefresh

Gets or sets the GenerateAutomaticMeshConnectionsOnRefresh.

AssociateToPullGeometry

To Migrate Boundary Conditions from profile to resulting Pull bodies.

TransparencyEnabled

Gets or sets the TransparencyEnabled.

DataModelObjectCategory

Gets the current DataModelObject’s category.

Children

Gets the list of children.

Comments

Gets the list of associated comments.

Figures

Gets the list of associated figures.

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.

VisibleProperties

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

Property detail#

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

Gets the internal object. For advanced usage only.

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

Gets or sets the GenerateAutomaticMeshConnectionsOnRefresh.

property MeshEdit.AssociateToPullGeometry: System.Boolean | None

To Migrate Boundary Conditions from profile to resulting Pull bodies.

property MeshEdit.TransparencyEnabled: System.Boolean | None

Gets or sets the TransparencyEnabled.

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

Gets the current DataModelObject’s category.

property MeshEdit.Children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None

Gets the list of children.

property MeshEdit.Comments: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Comment] | None

Gets the list of associated comments.

property MeshEdit.Figures: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Figure] | None

Gets the list of associated figures.

property MeshEdit.Images: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Image] | None

Gets the list of associated images.

property MeshEdit.InternalObject: System.Object | None

Gets the internal object. For advanced usage only.

property MeshEdit.Properties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None

Gets the list of properties for this object.

property MeshEdit.VisibleProperties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None

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

Method detail#

MeshEdit.ClearGeneratedData() System.Void

Clear the generated data.

MeshEdit.AddNodeMerge() System.Void

Add a new NodeMerge.

MeshEdit.AddManualMeshConnection() System.Void

Add a new ManualMeshConnection

MeshEdit.Generate() System.Void

Generate all mesh edits.

MeshEdit.SearchConnectionsForDuplicatePairs() System.Void

Run the SearchConnectionsForDuplicatePairs action.

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.AddContactMatchGroup() Ansys.ACT.Automation.Mechanical.ContactMatchGroup

Creates a new ContactMatchGroup

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

Creates a new DirectMorph

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

Creates a new MeshConnectionGroup

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

Creates a new NodeMergeGroup

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

Creates a new NodeMove

MeshEdit.CreateNamedSelectionForSharedNodes() System.Void

Run the CreateNamedSelectionForSharedNodes action.

MeshEdit.RenameBasedOnDefinition() System.Void

Run the RenameBasedOnDefinition action.

MeshEdit.GetChildren(recurses: System.Boolean, children: System.Collections.Generic.IList[ChildrenType]) System.Collections.Generic.IList[ChildrenType]

Gets the list of children, filtered by type.

MeshEdit.GetChildren(category: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory, recurses: System.Boolean, children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]) System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]

Gets the list of children, filtered by type.

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

Creates a new child Comment.

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

Creates a new child Figure.

MeshEdit.AddImage(filePath: System.String) 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.Activate() System.Void

Activate the current object.

MeshEdit.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) System.Void

Copies all visible properties from this object to another.

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

Creates a copy of the current DataModelObject.

MeshEdit.GroupAllSimilarChildren() System.Void

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

MeshEdit.PropertyByName(name: System.String) Ansys.ACT.Automation.Mechanical.Property

Get a property by its unique name.

MeshEdit.PropertyByAPIName(name: System.String) 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.CreateParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter

Creates a new parameter for a Property.

MeshEdit.GetParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter

Gets the parameter corresponding to the given property.

MeshEdit.RemoveParameter(propName: System.String) System.Void

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