MeshWorkflowControl#

class ansys.mechanical.stubs.v241.Ansys.ACT.Automation.Mechanical.MeshWorkflowControl#

Bases: object

Object that wraps IDSEngineeringModelControl.

Overview#

Delete

Run the Delete action.

GetChildren

Gets the list of children, filtered by type.

GetChildren

Gets the list of children, filtered by type.

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.

ControlType

Returns the type of the control.

EnableCheckpoint

Flag whether to enable a checkpoint or not. The default value is false.

InnerScopeOutcome

If the InnerScopeDefinition is set to Outcome, then this property is visible. It defines the previous step outcome. This way we input the results of a previous step to the current step. The input applies to inner region of enclosure.

ExternalScopeOutcome

If the InnerScopeDefinition is set to Outcome, then this property is visible. It defines the previous step outcome. This way we input the results of a previous step to the current step. The input applies to inner region of enclosure.

ScopeOutcome

If the InnerScopeDefinition is set to Outcome, then this property is visible. It defines the previous step outcome. This way we input the results of a previous step to the current step. The input applies to inner region of enclosure.

ScopeDefinition

It is defined by value or outcome.

ScopeMethod

The method can be label/zone/part.

InnerScopeDefinition

It is defined by value or outcome depending on if the Inner scope is defined manually by the user or defined based on a previous outcome.

InnerScopeMethod

The method can be label/zone/part and it is applied to inner region of enclosure.

ExternalScopeDefinition

It is defined by value or outcome depending on if the External scope is defined manual by the user or defined based on a previous outcome.

ExternalScopeMethod

The method can be label/zone/part and it is applied to external region of enclosure.

SurfaceMeshType

This property gives control over what type of elements need to be generated in the mesh. The supported surface mesh types are Triangles and Quadrilaterals.

MeshFlowControl

This property gives control over the flow of mesh during surface mesh generation. The supported modes are None, and Global Cartesian.

TriangleCountReductionMode

This property gives control over the mode/degree of triangle count reduction during surface mesh generation. The supported modes are None, Conservative and Aggressive.

VolumeMeshType

Type of Volume elements such as Tetrahedrons and Hex.

CenterPosition

It is defined by “Centered”, “Minimal”, and “User Defined”.

RegionType

It is defined by Material Point or External.

MaterialPointType

It defines the type of material point, it can be “Include” or “Exclude”.

XCoordinate

It defines the X Coordinate.

ZCoordinate

It defines the Z Coordinate.

YCoordinate

It defines the Y Coordinate.

DeleteEmptyVolumes

This property is used to enable or disable the automatic deletion of empty topo volumes during mesh to topology conversion. The default value is false.

Material

Gets or sets the Material.

MaterialName

Gets or sets the Material Name.

InternalObject

Gets the internal object. For advanced usage only.

ExternalScopePattern

The value can be a name of a region or a predefined patterns to select multiple region names.

InnerScopePattern

The value can be a name of a region or a predefined patterns to select multiple region names.

SmoothingIterations

Allows user to input number of iterations needed to achieve good mesh results.

MinimalNumberOfVolumetricLayers

It determines the minimal number of layers of volume elements to be created around the scoped body.

ExternalLabelName

This property is used to rename the default external label name generated during execution of step.

InternalLabelName

This property is used to rename the default Internal label name generated during execution of step.

NumberOfLayers

Number of layers of mesh elements.

FaceZoneName

This property is used to define the name of the default face zone name generated during execution of step.

Filename

Assign full path to the filename would like to Import/Export.

Filenames

Assign paths with ‘|’ seperator to this property to read multiple files, pass without seperator if single file.

NumberOfAttempts

Number of attempts for mesh convergence.

LabelName

This property is used to rename the default label name generated during execution of step.

PartName

This property allows user to rename the default part name generated during wrap operation.

PercentageIncrement

The number of volumetric Layers determines the number of layers. This property decides whether all the layers are an equal size (default 0.0) or they should gradually increase the size of volume element than previous element.

ScaleFactor

Scale Factor is used to scale shapes in different dimensions.

ScopePattern

The value can be a name of a region or a predefined patterns to select multiple region names.

TargetSkewness

Set Limit to the skewness of an element. Higher the skewness value, expecting a better mesh result.

GrowthRate

Gradient of element size as each layer grows.

VolumeZoneName

This property is used to rename the default volume zone name generated during execution of step.

ElementSize

Define element size to achieve desired mesh results. User can achieve coarse, medium, or fine mesh by varying this value.

MinimalRadius

It defines the desired minimal radius of the spherical enclosure.

ConstantHeight

Height of a single layer of mesh elements.

DihedralAngle

The dihedral angle is the angle between the normal vectors of two element faces.

AutomaticExternalScope

The external scoping method and pattern of the current step is decided programmatically. The default value is false.

SmoothingPreserveVolume

The option to enable and disable the volume preserving smoothing. If enabled, the smoothing will preserve the initial volume of the input. The default value is false.

CreateQuads

RestrictBoundaryNodes

Restrict the boundary nodes. The default value is true.

AppendData

This property lets the user choose whether to append the mesh data being read to the current PrimeMesh model or to clear the model content before the mesh data is being read. The default value is false.

Remesh

Remesh if volume mesh fails. The default value is false.

DeleteInputScope

Deletion of input scope. The default value is false.

ExcludeEnclosure

Excluding Enclosure . The default value is false.

ReverseSurfaceOrientation

Reverse Surface Orientation. The default value is false.

DataModelObjectCategory

Gets the current DataModelObject’s category.

Children

Gets the list of children.

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 MeshWorkflowControl.ControlType: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.ControlType | None

Returns the type of the control.

property MeshWorkflowControl.EnableCheckpoint: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.CheckpointDefinitionType | None

Flag whether to enable a checkpoint or not. The default value is false.

property MeshWorkflowControl.InnerScopeOutcome: Ansys.ACT.Automation.Mechanical.MeshWorkflowOutcome | None

If the InnerScopeDefinition is set to Outcome, then this property is visible. It defines the previous step outcome. This way we input the results of a previous step to the current step. The input applies to inner region of enclosure.

property MeshWorkflowControl.ExternalScopeOutcome: Ansys.ACT.Automation.Mechanical.MeshWorkflowOutcome | None

If the InnerScopeDefinition is set to Outcome, then this property is visible. It defines the previous step outcome. This way we input the results of a previous step to the current step. The input applies to inner region of enclosure.

property MeshWorkflowControl.ScopeOutcome: Ansys.ACT.Automation.Mechanical.MeshWorkflowOutcome | None

If the InnerScopeDefinition is set to Outcome, then this property is visible. It defines the previous step outcome. This way we input the results of a previous step to the current step. The input applies to inner region of enclosure.

property MeshWorkflowControl.ScopeDefinition: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.ScopeDefinedByType | None

It is defined by value or outcome.

property MeshWorkflowControl.ScopeMethod: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.ScopeType | None

The method can be label/zone/part.

property MeshWorkflowControl.InnerScopeDefinition: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.ScopeDefinedByType | None

It is defined by value or outcome depending on if the Inner scope is defined manually by the user or defined based on a previous outcome.

property MeshWorkflowControl.InnerScopeMethod: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.ScopeType | None

The method can be label/zone/part and it is applied to inner region of enclosure.

property MeshWorkflowControl.ExternalScopeDefinition: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.ScopeDefinedByType | None

It is defined by value or outcome depending on if the External scope is defined manual by the user or defined based on a previous outcome.

property MeshWorkflowControl.ExternalScopeMethod: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.ScopeType | None

The method can be label/zone/part and it is applied to external region of enclosure.

property MeshWorkflowControl.SurfaceMeshType: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.SurfaceMeshType | None

This property gives control over what type of elements need to be generated in the mesh. The supported surface mesh types are Triangles and Quadrilaterals.

property MeshWorkflowControl.MeshFlowControl: Ansys.Mechanical.DataModel.Enums.MeshFlowControl | None

This property gives control over the flow of mesh during surface mesh generation. The supported modes are None, and Global Cartesian.

property MeshWorkflowControl.TriangleCountReductionMode: Ansys.Mechanical.DataModel.Enums.TriangleCountReductionMode | None

This property gives control over the mode/degree of triangle count reduction during surface mesh generation. The supported modes are None, Conservative and Aggressive.

property MeshWorkflowControl.VolumeMeshType: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.VolumeMeshType | None

Type of Volume elements such as Tetrahedrons and Hex.

property MeshWorkflowControl.CenterPosition: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.SphereCenterDefinitionType | None

It is defined by “Centered”, “Minimal”, and “User Defined”.

property MeshWorkflowControl.RegionType: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.WrapperRegionType | None

It is defined by Material Point or External.

property MeshWorkflowControl.MaterialPointType: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.MaterialPointType | None

It defines the type of material point, it can be “Include” or “Exclude”.

property MeshWorkflowControl.XCoordinate: Ansys.Core.Units.Quantity | None

It defines the X Coordinate.

property MeshWorkflowControl.ZCoordinate: Ansys.Core.Units.Quantity | None

It defines the Z Coordinate.

property MeshWorkflowControl.YCoordinate: Ansys.Core.Units.Quantity | None

It defines the Y Coordinate.

property MeshWorkflowControl.DeleteEmptyVolumes: System.Boolean | None

This property is used to enable or disable the automatic deletion of empty topo volumes during mesh to topology conversion. The default value is false.

property MeshWorkflowControl.Material: System.String | None

Gets or sets the Material.

property MeshWorkflowControl.MaterialName: System.String | None

Gets or sets the Material Name.

property MeshWorkflowControl.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSEngineeringModelControlAuto | None

Gets the internal object. For advanced usage only.

property MeshWorkflowControl.ExternalScopePattern: System.String | None

The value can be a name of a region or a predefined patterns to select multiple region names.

property MeshWorkflowControl.InnerScopePattern: System.String | None

The value can be a name of a region or a predefined patterns to select multiple region names.

property MeshWorkflowControl.SmoothingIterations: System.Int32 | None

Allows user to input number of iterations needed to achieve good mesh results.

property MeshWorkflowControl.MinimalNumberOfVolumetricLayers: System.Int32 | None

It determines the minimal number of layers of volume elements to be created around the scoped body.

property MeshWorkflowControl.ExternalLabelName: System.String | None

This property is used to rename the default external label name generated during execution of step.

property MeshWorkflowControl.InternalLabelName: System.String | None

This property is used to rename the default Internal label name generated during execution of step.

property MeshWorkflowControl.NumberOfLayers: System.Int32 | None

Number of layers of mesh elements.

property MeshWorkflowControl.FaceZoneName: System.String | None

This property is used to define the name of the default face zone name generated during execution of step.

property MeshWorkflowControl.Filename: System.String | None

Assign full path to the filename would like to Import/Export.

property MeshWorkflowControl.Filenames: System.String | None

Assign paths with ‘|’ seperator to this property to read multiple files, pass without seperator if single file.

property MeshWorkflowControl.NumberOfAttempts: System.Double | None

Number of attempts for mesh convergence.

property MeshWorkflowControl.LabelName: System.String | None

This property is used to rename the default label name generated during execution of step.

property MeshWorkflowControl.PartName: System.String | None

This property allows user to rename the default part name generated during wrap operation.

property MeshWorkflowControl.PercentageIncrement: System.Double | None

The number of volumetric Layers determines the number of layers. This property decides whether all the layers are an equal size (default 0.0) or they should gradually increase the size of volume element than previous element.

property MeshWorkflowControl.ScaleFactor: System.Double | None

Scale Factor is used to scale shapes in different dimensions.

property MeshWorkflowControl.ScopePattern: System.String | None

The value can be a name of a region or a predefined patterns to select multiple region names.

property MeshWorkflowControl.TargetSkewness: System.Double | None

Set Limit to the skewness of an element. Higher the skewness value, expecting a better mesh result.

property MeshWorkflowControl.GrowthRate: System.Double | None

Gradient of element size as each layer grows.

property MeshWorkflowControl.VolumeZoneName: System.String | None

This property is used to rename the default volume zone name generated during execution of step.

property MeshWorkflowControl.ElementSize: Ansys.Core.Units.Quantity | None

Define element size to achieve desired mesh results. User can achieve coarse, medium, or fine mesh by varying this value.

property MeshWorkflowControl.MinimalRadius: Ansys.Core.Units.Quantity | None

It defines the desired minimal radius of the spherical enclosure.

property MeshWorkflowControl.ConstantHeight: Ansys.Core.Units.Quantity | None

Height of a single layer of mesh elements.

property MeshWorkflowControl.DihedralAngle: Ansys.Core.Units.Quantity | None

The dihedral angle is the angle between the normal vectors of two element faces.

property MeshWorkflowControl.AutomaticExternalScope: System.Boolean | None

The external scoping method and pattern of the current step is decided programmatically. The default value is false.

property MeshWorkflowControl.SmoothingPreserveVolume: System.Boolean | None

The option to enable and disable the volume preserving smoothing. If enabled, the smoothing will preserve the initial volume of the input. The default value is false.

property MeshWorkflowControl.CreateQuads: System.Boolean | None
property MeshWorkflowControl.RestrictBoundaryNodes: System.Boolean | None

Restrict the boundary nodes. The default value is true.

property MeshWorkflowControl.AppendData: System.Boolean | None

This property lets the user choose whether to append the mesh data being read to the current PrimeMesh model or to clear the model content before the mesh data is being read. The default value is false.

property MeshWorkflowControl.Remesh: System.Boolean | None

Remesh if volume mesh fails. The default value is false.

property MeshWorkflowControl.DeleteInputScope: System.Boolean | None

Deletion of input scope. The default value is false.

property MeshWorkflowControl.ExcludeEnclosure: System.Boolean | None

Excluding Enclosure . The default value is false.

property MeshWorkflowControl.ReverseSurfaceOrientation: System.Boolean | None

Reverse Surface Orientation. The default value is false.

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

Gets the current DataModelObject’s category.

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

Gets the list of children.

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

Gets the list of associated figures.

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

Gets the list of associated images.

property MeshWorkflowControl.InternalObject: System.Object | None

Gets the internal object. For advanced usage only.

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

Gets the list of properties for this object.

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

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

Method detail#

MeshWorkflowControl.Delete() System.Void

Run the Delete action.

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

Gets the list of children, filtered by type.

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

MeshWorkflowControl.AddFigure() Ansys.ACT.Automation.Mechanical.Figure

Creates a new child Figure.

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

Activate the current object.

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

Copies all visible properties from this object to another.

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

Creates a copy of the current DataModelObject.

MeshWorkflowControl.GroupAllSimilarChildren() System.Void

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

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

Get a property by its unique name.

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

Creates a new parameter for a Property.

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

Gets the parameter corresponding to the given property.

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

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