ResultMesh#

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

Bases: object

Defines a ResultMesh.

Overview#

Activate

Activate the current object.

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

AddNamedSelection

Creates a new NamedSelection

ClearGeneratedData

Clear the generated mesh data

CopyTo

Copies all visible properties from this object to another.

CreateObjRef

CreateObjRef method.

CreateParameter

Creates a new parameter for a Property.

Duplicate

Creates a copy of the current DataModelObject.

Equals

Equals method.

Generate

Generate the mesh data

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.

ImportComponentsFromResultFile

Import solver components from result file

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.

ToString

ToString method.

AttachedRefs

AttachedRefs property.

Children

Gets the list of children.

ClsId

ClsId property.

Comments

Gets the list of associated comments.

ConfigurationId

Gets the ConfigurationId.

DataModelObjectCategory

Gets the current DataModelObject's category.

Elements

Gets the Elements.

FEBodies

Gets FE Bodies

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.

Nodes

Gets the Nodes.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

Properties

Gets the list of properties for this object.

SourceFile

Gets the SourceFile.

State

State property.

Suppressed

Gets or sets the Suppressed.

VisibleProperties

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

Property detail#

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

AttachedRefs property.

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

Gets the list of children.

property ResultMesh.ClsId: int | None#

ClsId property.

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

Gets the list of associated comments.

property ResultMesh.ConfigurationId: int | None#

Gets the ConfigurationId.

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

Gets the current DataModelObject's category.

property ResultMesh.Elements: int | None#

Gets the Elements.

property ResultMesh.FEBodies: Ansys.ACT.Automation.Mechanical.Part | None#

Gets FE Bodies

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

Gets the list of associated figures.

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

GroupingFolder property.

property ResultMesh.IconName: str | None#

IconName property.

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

Gets the list of associated images.

property ResultMesh.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSExtraMeshAuto | None#

Gets the internal object. For advanced usage only.

property ResultMesh.Name: str | None#

Name property.

property ResultMesh.Nodes: int | None#

Gets the Nodes.

property ResultMesh.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

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

Gets the list of properties for this object.

property ResultMesh.SourceFile: str | None#

Gets the SourceFile.

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

State property.

property ResultMesh.Suppressed: bool | None#

Gets or sets the Suppressed.

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

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

Method detail#

ResultMesh.Activate() None#

Activate the current object.

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

Creates a new child Comment.

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

Creates a new child Figure.

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

Creates a new NamedSelection

ResultMesh.ClearGeneratedData() None#

Clear the generated mesh data

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

Copies all visible properties from this object to another.

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

CreateObjRef method.

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

Creates a new parameter for a Property.

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

Creates a copy of the current DataModelObject.

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

Equals method.

ResultMesh.Generate() None#

Generate the mesh data

ResultMesh.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

Enum name bound to value

ResultMesh.GetHashCode() int#

GetHashCode method.

ResultMesh.GetIconFile() System.Byte#

GetIconFile method.

ResultMesh.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

ResultMesh.GetPath() str#

GetPath method.

ResultMesh.GetPropertyName(dispId: int) str#

GetPropertyName method.

ResultMesh.GetPropertyValue(name: str) Any#

GetPropertyValue method.

ResultMesh.GetType() type#

GetType method.

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

GetVisibleProperties method.

ResultMesh.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

ResultMesh.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

ResultMesh.ImportComponentsFromResultFile() None#

Import solver components from result file

ResultMesh.InitializeLifetimeService() Any#

InitializeLifetimeService method.

ResultMesh.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

ResultMesh.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

PropertyById method.

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

Get a property by its unique name.

ResultMesh.RemoveParameter(propName: str) None#

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

ResultMesh.ToString() str#

ToString method.