RepairTopology#

class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.MeshControls.RepairTopology#

Bases: object

Defines a RepairTopology.

Overview#

GenerateMesh

Generate the Mesh.

RenameBasedOnDefinition

Run the RenameBasedOnDefinition action.

Delete

Run the Delete 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.

FeatureAngle

Gets or sets the FeatureAngle.

PinchTolerance

Gets or sets the PinchTolerance.

SharpAngle

Gets or sets the SharpAngle.

ShortEdgeLength

Gets or sets the ShortEdgeLength.

ThinFaceWidth

Gets or sets the ThinFaceWidth.

CollapseShortEdges

Gets or sets the CollapseShortEdges.

FillHole

Gets or sets the FillHole.

FillHoleGeometryDefineBy

Gets or sets the FillHoleGeometryDefineBy.

MergeFaces

Gets or sets the MergeFaces.

MergeFacesGeometryDefineBy

Gets or sets the MergeFacesGeometryDefineBy.

PinchFaces

Gets or sets the PinchFaces.

PinchFacesGeometryDefineBy

Gets or sets the PinchFacesGeometryDefineBy.

PinchFacesUseLocalScoping

Gets or sets the PinchFacesUseLocalScoping.

RemoveSharpAngleFaces

Gets or sets the RemoveSharpAngleFaces.

RemoveThinFaces

Gets or sets the RemoveThinFaces.

RepairPartialDefeature

Gets or sets the RepairPartialDefeature.

RepairPartialDefeatureGeometryDefineBy

Gets or sets the RepairPartialDefeatureGeometryDefineBy.

SharpAngleGeometryDefineBy

Gets or sets the SharpAngleGeometryDefineBy.

SharpAngleUseLocalScoping

Gets or sets the SharpAngleUseLocalScoping.

ShortEdgeGeometryDefineBy

Gets or sets the ShortEdgeGeometryDefineBy.

ShortEdgeUseLocalScoping

Gets or sets the ShortEdgeUseLocalScoping.

SuppressEdgesGeometryDefineBy

Gets or sets the SuppressEdgesGeometryDefineBy.

SuppressEdges

Gets or sets the SuppressEdges.

ThinFaceGeometryDefineBy

Gets or sets the ThinFaceGeometryDefineBy.

ThinFacesUseLocalScoping

Gets or sets the ThinFacesUseLocalScoping.

FillHoleNamedSelection

Gets or sets the FillHoleNamedSelection.

MergeFacesNamedSelection

Gets or sets the MergeFacesNamedSelection.

PartialDefeatureNamedSelection

Gets or sets the PartialDefeatureNamedSelection.

PinchFacesNamedSelection

Gets or sets the PinchFacesNamedSelection.

SharpAngleNamedSelection

Gets or sets the SharpAngleNamedSelection.

ShortEdgeNamedSelection

Gets or sets the ShortEdgeNamedSelection.

SuppressEdgesNamedSelection

Gets or sets the SuppressEdgesNamedSelection.

ThinFaceNamedSelection

Gets or sets the ThinFaceNamedSelection.

FillHoleGeometrySelection

Gets or sets the FillHoleGeometrySelection.

MergeFacesGeometrySelection

Gets or sets the MergeFacesGeometrySelection.

PartialDefeatureGeometrySelection

Gets or sets the PartialDefeatureGeometrySelection.

PinchFacesGeometrySelection

Gets or sets the PinchFacesGeometrySelection.

SharpAngleGeometrySelection

Gets or sets the SharpAngleGeometrySelection.

ShortEdgeGeometrySelection

Gets or sets the ShortEdgeGeometrySelection.

SuppressEdgesGeometrySelection

Gets or sets the SuppressEdgesGeometrySelection.

ThinFaceGeometrySelection

Gets or sets the ThinFaceGeometrySelection.

DataModelObjectCategory

Gets the current DataModelObject’s category.

ScopingMethod

Gets or sets the ScopingMethod.

Suppressed

Gets or sets the Suppressed.

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 RepairTopology.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSMeshControlAuto | None

Gets the internal object. For advanced usage only.

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

Gets or sets the FeatureAngle.

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

Gets or sets the PinchTolerance.

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

Gets or sets the SharpAngle.

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

Gets or sets the ShortEdgeLength.

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

Gets or sets the ThinFaceWidth.

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

Gets or sets the CollapseShortEdges.

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.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.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.PinchFacesUseLocalScoping: Ansys.Mechanical.DataModel.Enums.YesNoType | None

Gets or sets the PinchFacesUseLocalScoping.

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 RepairPartialDefeature.

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

Gets or sets the RepairPartialDefeatureGeometryDefineBy.

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

Gets or sets the SharpAngleGeometryDefineBy.

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.ShortEdgeUseLocalScoping: Ansys.Mechanical.DataModel.Enums.YesNoType | None

Gets or sets the ShortEdgeUseLocalScoping.

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

Gets or sets the SuppressEdgesGeometryDefineBy.

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

Gets or sets the SuppressEdges.

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

Gets or sets the ThinFaceGeometryDefineBy.

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

Gets or sets the ThinFacesUseLocalScoping.

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

Gets or sets the FillHoleNamedSelection.

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

Gets or sets the MergeFacesNamedSelection.

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

Gets or sets the PartialDefeatureNamedSelection.

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

Gets or sets the PinchFacesNamedSelection.

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

Gets or sets the SharpAngleNamedSelection.

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

Gets or sets the ShortEdgeNamedSelection.

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

Gets or sets the SuppressEdgesNamedSelection.

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

Gets or sets the ThinFaceNamedSelection.

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

Gets or sets the FillHoleGeometrySelection.

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

Gets or sets the MergeFacesGeometrySelection.

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

Gets or sets the PartialDefeatureGeometrySelection.

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

Gets or sets the PinchFacesGeometrySelection.

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

Gets or sets the SharpAngleGeometrySelection.

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

Gets or sets the ShortEdgeGeometrySelection.

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

Gets or sets the SuppressEdgesGeometrySelection.

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

Gets or sets the ThinFaceGeometrySelection.

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

Gets the current DataModelObject’s category.

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

Gets or sets the ScopingMethod.

property RepairTopology.Suppressed: System.Boolean | None

Gets or sets the Suppressed.

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

Gets the list of children.

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

Gets the list of associated comments.

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

Gets the list of associated figures.

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

Gets the list of associated images.

property RepairTopology.InternalObject: System.Object | None

Gets the internal object. For advanced usage only.

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

Gets the list of properties for this object.

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

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

Method detail#

RepairTopology.GenerateMesh() System.Void

Generate the Mesh.

RepairTopology.RenameBasedOnDefinition() System.Void

Run the RenameBasedOnDefinition action.

RepairTopology.Delete() System.Void

Run the Delete action.

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

Gets the list of children, filtered by type.

RepairTopology.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.

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: 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.
RepairTopology.Activate() System.Void

Activate the current object.

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

Copies all visible properties from this object to another.

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

Creates a copy of the current DataModelObject.

RepairTopology.GroupAllSimilarChildren() System.Void

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

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

Get a property by its unique name.

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

Creates a new parameter for a Property.

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

Gets the parameter corresponding to the given property.

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

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