RepairTopology#

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

Bases: object

Defines a RepairTopology.

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.

CollapseShortEdges

Gets or sets the CollapseShortEdges.

Comments

Gets the list of associated comments.

DataModelObjectCategory

Gets the current DataModelObject's category.

FeatureAngle

Gets or sets the FeatureAngle.

Figures

Gets the list of associated figures.

FillHole

Gets or sets the FillHole.

FillHoleGeometryDefineBy

Gets or sets the FillHoleGeometryDefineBy.

FillHoleGeometrySelection

Gets or sets the FillHoleGeometrySelection.

FillHoleNamedSelection

Gets or sets the FillHoleNamedSelection.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

Images

Gets the list of associated images.

InternalObject

Gets the internal object. For advanced usage only.

MergeFaces

Gets or sets the MergeFaces.

MergeFacesGeometryDefineBy

Gets or sets the MergeFacesGeometryDefineBy.

MergeFacesGeometrySelection

Gets or sets the MergeFacesGeometrySelection.

MergeFacesNamedSelection

Gets or sets the MergeFacesNamedSelection.

Name

Name property.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

PartialDefeatureGeometrySelection

Gets or sets the partial defeature scoping using geometry selections.

PartialDefeatureNamedSelection

Gets or sets the partial defeature scoping using named selections.

PinchFaces

Gets or sets the PinchFaces.

PinchFacesGeometryDefineBy

Gets or sets the PinchFacesGeometryDefineBy.

PinchFacesGeometrySelection

Gets or sets the PinchFacesGeometrySelection.

PinchFacesNamedSelection

Gets or sets the PinchFacesNamedSelection.

PinchFacesUseLocalScoping

Gets or sets the PinchFacesUseLocalScoping.

PinchTolerance

Gets or sets the PinchTolerance.

Properties

Gets the list of properties for this object.

RemoveSharpAngleFaces

Gets or sets the RemoveSharpAngleFaces.

RemoveThinFaces

Gets or sets the RemoveThinFaces.

RepairPartialDefeature

Gets or sets the use of partial defeature, which partially removes thin faces and sharp angles within provided tolerances, such that only topology impacting mesh quality is removed.

RepairPartialDefeatureGeometryDefineBy

Gets or sets the type of scoping selection to be used with Partial Defeature.

ScopingMethod

Gets or sets the ScopingMethod.

SharpAngle

Gets or sets the SharpAngle.

SharpAngleGeometryDefineBy

Gets or sets the SharpAngleGeometryDefineBy.

SharpAngleGeometrySelection

Gets or sets the SharpAngleGeometrySelection.

SharpAngleNamedSelection

Gets or sets the SharpAngleNamedSelection.

SharpAngleUseLocalScoping

Gets or sets the SharpAngleUseLocalScoping.

ShortEdgeGeometryDefineBy

Gets or sets the ShortEdgeGeometryDefineBy.

ShortEdgeGeometrySelection

Gets or sets the ShortEdgeGeometrySelection.

ShortEdgeLength

Gets or sets the ShortEdgeLength.

ShortEdgeNamedSelection

Gets or sets the ShortEdgeNamedSelection.

ShortEdgeUseLocalScoping

Gets or sets the ShortEdgeUseLocalScoping.

State

State property.

SuppressEdges

Gets or sets the SuppressEdges.

SuppressEdgesGeometryDefineBy

Gets or sets the SuppressEdgesGeometryDefineBy.

SuppressEdgesGeometrySelection

Gets or sets the SuppressEdgesGeometrySelection.

SuppressEdgesNamedSelection

Gets or sets the SuppressEdgesNamedSelection.

Suppressed

Gets or sets the Suppressed.

ThinFaceGeometryDefineBy

Gets or sets the ThinFaceGeometryDefineBy.

ThinFaceGeometrySelection

Gets or sets the ThinFaceGeometrySelection.

ThinFaceNamedSelection

Gets or sets the ThinFaceNamedSelection.

ThinFaceWidth

Gets or sets the ThinFaceWidth.

ThinFacesUseLocalScoping

Gets or sets the ThinFacesUseLocalScoping.

VisibleProperties

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

Property detail#

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

AttachedRefs property.

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

Gets the list of children.

property RepairTopology.ClsId: int | None#

ClsId property.

property RepairTopology.CollapseShortEdges: Ansys.Mechanical.DataModel.Enums.YesNoType | None#

Gets or sets the CollapseShortEdges.

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

Gets the list of associated comments.

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

Gets the current DataModelObject's category.

property RepairTopology.FeatureAngle: Ansys.Core.Units.Quantity | None#

Gets or sets the FeatureAngle.

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

Gets the list of associated figures.

property RepairTopology.FillHole: Ansys.Mechanical.DataModel.Enums.YesNoType | None#

Gets or sets the FillHole.

property RepairTopology.FillHoleGeometryDefineBy: Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None#

Gets or sets the FillHoleGeometryDefineBy.

property RepairTopology.FillHoleGeometrySelection: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the FillHoleGeometrySelection.

property RepairTopology.FillHoleNamedSelection: Ansys.ACT.Automation.Mechanical.NamedSelection | None#

Gets or sets the FillHoleNamedSelection.

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

GroupingFolder property.

property RepairTopology.IconName: str | None#

IconName property.

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

Gets the list of associated images.

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

Gets the internal object. For advanced usage only.

property RepairTopology.MergeFaces: Ansys.Mechanical.DataModel.Enums.YesNoType | None#

Gets or sets the MergeFaces.

property RepairTopology.MergeFacesGeometryDefineBy: Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None#

Gets or sets the MergeFacesGeometryDefineBy.

property RepairTopology.MergeFacesGeometrySelection: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the MergeFacesGeometrySelection.

property RepairTopology.MergeFacesNamedSelection: Ansys.ACT.Automation.Mechanical.NamedSelection | None#

Gets or sets the MergeFacesNamedSelection.

property RepairTopology.Name: str | None#

Name property.

property RepairTopology.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

property RepairTopology.PartialDefeatureGeometrySelection: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the partial defeature scoping using geometry selections.

property RepairTopology.PartialDefeatureNamedSelection: Ansys.ACT.Automation.Mechanical.NamedSelection | None#

Gets or sets the partial defeature scoping using named selections.

property RepairTopology.PinchFaces: Ansys.Mechanical.DataModel.Enums.YesNoType | None#

Gets or sets the PinchFaces.

property RepairTopology.PinchFacesGeometryDefineBy: Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None#

Gets or sets the PinchFacesGeometryDefineBy.

property RepairTopology.PinchFacesGeometrySelection: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the PinchFacesGeometrySelection.

property RepairTopology.PinchFacesNamedSelection: Ansys.ACT.Automation.Mechanical.NamedSelection | None#

Gets or sets the PinchFacesNamedSelection.

property RepairTopology.PinchFacesUseLocalScoping: Ansys.Mechanical.DataModel.Enums.YesNoType | None#

Gets or sets the PinchFacesUseLocalScoping.

property RepairTopology.PinchTolerance: Ansys.Core.Units.Quantity | None#

Gets or sets the PinchTolerance.

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

Gets the list of properties for this object.

property RepairTopology.RemoveSharpAngleFaces: Ansys.Mechanical.DataModel.Enums.YesNoType | None#

Gets or sets the RemoveSharpAngleFaces.

property RepairTopology.RemoveThinFaces: Ansys.Mechanical.DataModel.Enums.YesNoType | None#

Gets or sets the RemoveThinFaces.

property RepairTopology.RepairPartialDefeature: Ansys.Mechanical.DataModel.Enums.YesNoType | None#

Gets or sets the use of partial defeature, which partially removes thin faces and sharp angles within provided tolerances, such that only topology impacting mesh quality is removed.

property RepairTopology.RepairPartialDefeatureGeometryDefineBy: Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None#

Gets or sets the type of scoping selection to be used with Partial Defeature.

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

Gets or sets the ScopingMethod.

property RepairTopology.SharpAngle: Ansys.Core.Units.Quantity | None#

Gets or sets the SharpAngle.

property RepairTopology.SharpAngleGeometryDefineBy: Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None#

Gets or sets the SharpAngleGeometryDefineBy.

property RepairTopology.SharpAngleGeometrySelection: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the SharpAngleGeometrySelection.

property RepairTopology.SharpAngleNamedSelection: Ansys.ACT.Automation.Mechanical.NamedSelection | None#

Gets or sets the SharpAngleNamedSelection.

property RepairTopology.SharpAngleUseLocalScoping: Ansys.Mechanical.DataModel.Enums.YesNoType | None#

Gets or sets the SharpAngleUseLocalScoping.

property RepairTopology.ShortEdgeGeometryDefineBy: Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None#

Gets or sets the ShortEdgeGeometryDefineBy.

property RepairTopology.ShortEdgeGeometrySelection: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the ShortEdgeGeometrySelection.

property RepairTopology.ShortEdgeLength: Ansys.Core.Units.Quantity | None#

Gets or sets the ShortEdgeLength.

property RepairTopology.ShortEdgeNamedSelection: Ansys.ACT.Automation.Mechanical.NamedSelection | None#

Gets or sets the ShortEdgeNamedSelection.

property RepairTopology.ShortEdgeUseLocalScoping: Ansys.Mechanical.DataModel.Enums.YesNoType | None#

Gets or sets the ShortEdgeUseLocalScoping.

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

State property.

property RepairTopology.SuppressEdges: Ansys.Mechanical.DataModel.Enums.YesNoType | None#

Gets or sets the SuppressEdges.

property RepairTopology.SuppressEdgesGeometryDefineBy: Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None#

Gets or sets the SuppressEdgesGeometryDefineBy.

property RepairTopology.SuppressEdgesGeometrySelection: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the SuppressEdgesGeometrySelection.

property RepairTopology.SuppressEdgesNamedSelection: Ansys.ACT.Automation.Mechanical.NamedSelection | None#

Gets or sets the SuppressEdgesNamedSelection.

property RepairTopology.Suppressed: bool | None#

Gets or sets the Suppressed.

property RepairTopology.ThinFaceGeometryDefineBy: Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None#

Gets or sets the ThinFaceGeometryDefineBy.

property RepairTopology.ThinFaceGeometrySelection: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the ThinFaceGeometrySelection.

property RepairTopology.ThinFaceNamedSelection: Ansys.ACT.Automation.Mechanical.NamedSelection | None#

Gets or sets the ThinFaceNamedSelection.

property RepairTopology.ThinFaceWidth: Ansys.Core.Units.Quantity | None#

Gets or sets the ThinFaceWidth.

property RepairTopology.ThinFacesUseLocalScoping: Ansys.Mechanical.DataModel.Enums.YesNoType | None#

Gets or sets the ThinFacesUseLocalScoping.

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

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

Method detail#

RepairTopology.Activate() None#

Activate the current object.

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

Creates a new child Comment.

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

Creates a new child Figure.

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

Copies all visible properties from this object to another.

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

CreateObjRef method.

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

Creates a new parameter for a Property.

RepairTopology.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Equals method.

RepairTopology.GenerateMesh() None#

Generate the Mesh.

RepairTopology.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

Enum name bound to value

RepairTopology.GetHashCode() int#

GetHashCode method.

RepairTopology.GetIconFile() System.Byte#

GetIconFile method.

RepairTopology.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

RepairTopology.GetPath() str#

GetPath method.

RepairTopology.GetPropertyName(dispId: int) str#

GetPropertyName method.

RepairTopology.GetPropertyValue(name: str) Any#

GetPropertyValue method.

RepairTopology.GetType() type#

GetType method.

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

GetVisibleProperties method.

RepairTopology.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

RepairTopology.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

RepairTopology.InitializeLifetimeService() Any#

InitializeLifetimeService method.

RepairTopology.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

RepairTopology.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

PropertyById method.

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

Get a property by its unique name.

RepairTopology.RemoveParameter(propName: str) None#

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

RepairTopology.RenameBasedOnDefinition() None#

Run the RenameBasedOnDefinition action.

RepairTopology.ToString() str#

ToString method.