MeshEdit#

class ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.MeshEdit(internalObject: Any)#

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.

CreateObjRef

CreateObjRef method.

CreateParameter

Creates a new parameter for a Property.

Duplicate

Creates a copy of the current DataModelObject.

Equals

Equals method.

Generate

Generate all mesh edits.

GenerateSelectedMeshConnectionsACT

GenerateSelectedMeshConnectionsACT method.

GetAPIName

Property name bound to dispId.

GetAllProperties

GetAllProperties method.

GetChildren

Gets the list of children, filtered by type.

GetDetailsView

GetDetailsView method.

GetEnumName

Enum name bound to value

GetHashCode

GetHashCode method.

GetIconFile

GetIconFile method.

GetLifetimeService

GetLifetimeService method.

GetObjectData

GetObjectData method.

GetParameter

Gets the parameter corresponding to the given property.

GetPath

GetPath method.

GetPropertyName

GetPropertyName method.

GetPropertyValue

GetPropertyValue method.

GetType

GetType method.

GetVisibleProperties

GetVisibleProperties method.

GetVisiblePropertyNames

GetVisiblePropertyNames method.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

InitializeLifetimeService

InitializeLifetimeService method.

IsPropertyEditable

IsPropertyEditable method.

IsPropertyVisible

IsPropertyVisible method.

PropertyByAPIName

Get a property by its API name.

PropertyById

PropertyById method.

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.

ToString

ToString method.

AssociateToPullGeometry

To Migrate Boundary Conditions from profile to resulting Pull bodies.

AttachedRefs

AttachedRefs property.

Children

Gets the list of children.

ClsId

ClsId property.

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.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

Images

Gets the list of associated images.

InternalObject

Gets the internal object. For advanced usage only.

Name

Name property.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

Properties

Gets the list of properties for this object.

State

State property.

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.AttachedRefs: List[int] | None#

AttachedRefs property.

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

Gets the list of children.

property MeshEdit.ClsId: int | None#

ClsId property.

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.GroupingFolder: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

GroupingFolder property.

property MeshEdit.IconName: str | None#

IconName property.

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.Name: str | None#

Name property.

property MeshEdit.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

property MeshEdit.ObjectTags: Iterable[Ansys.Mechanical.DataModel.Interfaces.IObjectTag] | None#

ObjectTags property.

property MeshEdit.Parent: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

Parent property.

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

Gets the list of properties for this object.

property MeshEdit.State: Ansys.Mechanical.DataModel.Enums.Legacy.State | None#

State property.

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() Ansys.ACT.Automation.Mechanical.MeshConnection#

Add a new ManualMeshConnection

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

Creates a new MeshConnectionGroup

MeshEdit.AddNodeMerge() Ansys.ACT.Automation.Mechanical.NodeMerge#

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.CreateObjRef(requestedType: type) System.Runtime.Remoting.ObjRef#

CreateObjRef method.

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.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#

Equals method.

MeshEdit.Generate() None#

Generate all mesh edits.

MeshEdit.GenerateSelectedMeshConnectionsACT(dataModelObjects: Iterable[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]) None#

GenerateSelectedMeshConnectionsACT method.

MeshEdit.GetAPIName(dispId: int) str#

Property name bound to dispId.

MeshEdit.GetAllProperties() List[Ansys.ACT.Automation.Mechanical.AutomationPropertyWrapper]#

GetAllProperties method.

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

Gets the list of children, filtered by type.

MeshEdit.GetDetailsView() Ansys.ACT.Automation.Mechanical.DetailsViewData#

GetDetailsView method.

MeshEdit.GetEnumName(enumType: type, value: int, dispId: int) str#

Enum name bound to value

MeshEdit.GetHashCode() int#

GetHashCode method.

MeshEdit.GetIconFile() System.Byte#

GetIconFile method.

MeshEdit.GetLifetimeService() Any#

GetLifetimeService method.

MeshEdit.GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext) None#

GetObjectData method.

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

Gets the parameter corresponding to the given property.

MeshEdit.GetPath() str#

GetPath method.

MeshEdit.GetPropertyName(dispId: int) str#

GetPropertyName method.

MeshEdit.GetPropertyValue(name: str) Any#

GetPropertyValue method.

MeshEdit.GetType() type#

GetType method.

MeshEdit.GetVisibleProperties() List[System.Reflection.PropertyInfo]#

GetVisibleProperties method.

MeshEdit.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

MeshEdit.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

MeshEdit.InitializeLifetimeService() Any#

InitializeLifetimeService method.

MeshEdit.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

MeshEdit.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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.PropertyById(dispId: int) Ansys.ACT.Automation.Mechanical.Property#

PropertyById method.

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.

MeshEdit.ToString() str#

ToString method.