MeshCopy#

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

Bases: object

Defines a MeshCopy.

Overview#

Activate

Activate the current object.

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

CopyTo

Copies all visible properties from this object to another.

CreateObjRef

CreateObjRef method.

CreateParameter

Creates a new parameter for a Property.

Delete

Run the Delete action.

Duplicate

Creates a copy of the current DataModelObject.

Equals

Equals method.

GenerateMesh

Generate the Mesh.

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.

ToString

ToString method.

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.

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.

NodeMergeTolerance

Gets or sets the NodeMergeTolerance.

NodeMergeToleranceOption

Gets or sets the NodeMergeToleranceOption.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

PercentageOfElementSize

Gets or sets the PercentageOfElementSize.

Properties

Gets the list of properties for this object.

ScopingMethod

Gets or sets the ScopingMethod.

SourceAnchors

Gets or sets the SourceAnchors.

SourceAnchorsNamedSelection

Gets or sets the SourceAnchorsNamedSelection.

State

State property.

Suppressed

Gets or sets the Suppressed.

TargetAnchors

Gets or sets the TargetAnchors.

TargetAnchorsNamedSelection

Gets or sets the TargetAnchorsNamedSelection.

TargetScoping

Gets or sets the TargetScoping.

VisibleProperties

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

Property detail#

property MeshCopy.AttachedRefs: List[int] | None#

AttachedRefs property.

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

Gets the list of children.

property MeshCopy.ClsId: int | None#

ClsId property.

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

Gets the list of associated comments.

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

Gets the current DataModelObject's category.

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

Gets the list of associated figures.

property MeshCopy.GroupingFolder: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

GroupingFolder property.

property MeshCopy.IconName: str | None#

IconName property.

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

Gets the list of associated images.

property MeshCopy.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSMeshControlAuto | None#

Gets the internal object. For advanced usage only.

property MeshCopy.Name: str | None#

Name property.

property MeshCopy.NodeMergeTolerance: float | None#

Gets or sets the NodeMergeTolerance.

property MeshCopy.NodeMergeToleranceOption: Ansys.Mechanical.DataModel.Enums.NodeMergeToleranceMethod | None#

Gets or sets the NodeMergeToleranceOption.

property MeshCopy.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

property MeshCopy.PercentageOfElementSize: float | None#

Gets or sets the PercentageOfElementSize.

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

Gets the list of properties for this object.

property MeshCopy.ScopingMethod: Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None#

Gets or sets the ScopingMethod.

property MeshCopy.SourceAnchors: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the SourceAnchors.

property MeshCopy.SourceAnchorsNamedSelection: Ansys.ACT.Automation.Mechanical.NamedSelection | None#

Gets or sets the SourceAnchorsNamedSelection.

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

State property.

property MeshCopy.Suppressed: bool | None#

Gets or sets the Suppressed.

property MeshCopy.TargetAnchors: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the TargetAnchors.

property MeshCopy.TargetAnchorsNamedSelection: Ansys.ACT.Automation.Mechanical.NamedSelection | None#

Gets or sets the TargetAnchorsNamedSelection.

property MeshCopy.TargetScoping: Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None#

Gets or sets the TargetScoping.

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

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

Method detail#

MeshCopy.Activate() None#

Activate the current object.

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

Creates a new child Comment.

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

Creates a new child Figure.

MeshCopy.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.
MeshCopy.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#

Copies all visible properties from this object to another.

MeshCopy.CreateObjRef(requestedType: type) System.Runtime.Remoting.ObjRef#

CreateObjRef method.

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

Creates a new parameter for a Property.

MeshCopy.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

MeshCopy.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#

Equals method.

MeshCopy.GenerateMesh() None#

Generate the Mesh.

MeshCopy.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

Enum name bound to value

MeshCopy.GetHashCode() int#

GetHashCode method.

MeshCopy.GetIconFile() System.Byte#

GetIconFile method.

MeshCopy.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

MeshCopy.GetPath() str#

GetPath method.

MeshCopy.GetPropertyName(dispId: int) str#

GetPropertyName method.

MeshCopy.GetPropertyValue(name: str) Any#

GetPropertyValue method.

MeshCopy.GetType() type#

GetType method.

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

GetVisibleProperties method.

MeshCopy.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

MeshCopy.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

MeshCopy.InitializeLifetimeService() Any#

InitializeLifetimeService method.

MeshCopy.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

MeshCopy.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

PropertyById method.

MeshCopy.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#

Get a property by its unique name.

MeshCopy.RemoveParameter(propName: str) None#

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

MeshCopy.RenameBasedOnDefinition() None#

Run the RenameBasedOnDefinition action.

MeshCopy.ToString() str#

ToString method.