MeshWorkflowControl#

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

Bases: object

Object that wraps IDSEngineeringModelControl.

Overview#

Activate

Activate the current object.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

CopyTo

Copies all visible properties from this object to another.

CreateParameter

Creates a new parameter for a Property.

Delete

Run the Delete action.

Duplicate

Creates a copy of the current DataModelObject.

GetChildren

Gets the list of children, filtered by type.

GetParameter

Gets the parameter corresponding to the given property.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

PropertyByAPIName

Get a property by its API name.

PropertyByName

Get a property by its unique name.

RemoveParameter

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

AppendData

Gets or sets 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.

AutomaticExternalScope

Gets or sets whether to define programmatically the external scoping method and pattern for the external enclosure. The default value is false.

CenterPlaneNormalOffset

It defines the desired offset of the plane of the hemisphere from the model.

CenterPosition

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

Children

Gets the list of children.

ConstantHeight

Height of a single layer of mesh elements.

ControlDataDefinition

This property is used to define if the control data is defined by value or by settings.

ControlType

Returns the type of the control.

CoordinateSystem

Gets or sets the Coordinate System object used to define the material point location.

CreateFaceZone

Gets or sets whether to create a new face zone.

CreateQuads

Gets or sets whether to create quadratic elements. The default value is false.

DataModelObjectCategory

Gets the current DataModelObject's category.

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.

DeleteInputScope

Gets or sets whether to delete of input scope after wrapping. The default value is false.

DihedralAngle

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

EdgeLabelName

This property is used to rename the default edge label 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.

EnableCheckpoint

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

ExcludeEnclosure

Gets or sets whether to exclude the enclosure from the wrapper scope . The default value is false.

ExternalLabelName

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

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.

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.

ExternalScopePattern

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

FaceZoneByPart

Gets or sets whether to define an independent face zone for each input part.

FaceZoneName

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

Figures

Gets the list of associated figures.

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.

GrowthRate

Gradient of element size as each layer grows.

HemisphereCenterModality

This property is used to define the rule for the computation of the center of the hemispherical enclosure.

HemisphereOrientationModality

This property is used to define the rule for the computation of the orientation of the hemispherical enclosure.

Images

Gets the list of associated images.

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.

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.

InnerScopePattern

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

InternalLabelName

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

InternalObject

Gets the internal object. For advanced usage only.

LabelName

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

Material

Gets or sets the Material.

MaterialName

Gets or sets the Material Name.

MaterialPointDefinition

Gets or sets the material point definition type.

MaterialPointType

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

MeshFlowControl

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

MinimalNumberOfVolumetricLayers

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

MinimalRadius

It defines the desired minimal radius of the spherical enclosure.

NumberOfAttempts

Number of attempts for mesh convergence.

NumberOfLayers

Number of layers of mesh elements.

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.

Properties

Gets the list of properties for this object.

RegionType

It is defined by Material Point or External.

Remesh

Gets or sets whether to allow the remesh of already meshed volumes. The default value is false.

RepairModel

Gets or sets whether to repair the PrimeMesh model after the reading operation is executed. The default value is false.

RestrictBoundaryNodes

Gets or sets whether to restrict the boundary nodes displacement. The default value is true.

ReverseSurfaceOrientation

Reverse Surface Orientation. The default value is false.

ScaleFactor

Scale Factor is used to scale shapes in different dimensions.

ScopeDefinition

It is defined by value or outcome.

ScopeMethod

The method can be label/zone/part.

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.

ScopePattern

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

SizeFieldName

This property is used to define the name of the size field to apply to the meshing operation.

SmoothingIterations

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

SmoothingPreserveVolume

Gets or sets whether 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.

SphereCenterModality

This property is used to define the rule for the computation of the center of the spherical 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.

TargetSkewness

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

Thickness

Gets or sets the Thickness to be assigned to the scoped zone.

TopologyConformalConnection

Gets or sets whether to preserve the topology connection for the newly created faces. The default value is false.

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.

VisibleProperties

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

VolumeMeshType

Type of Volume elements such as Tetrahedrons and Hex.

VolumeZoneName

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

WrapByParts

Gets or sets whether to wrap each part separately. The default value is false.

XCoordinate

It defines the X Coordinate.

YCoordinate

It defines the Y Coordinate.

ZCoordinate

It defines the Z Coordinate.

Property detail#

property MeshWorkflowControl.AppendData: bool | None#

Gets or sets 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.AutomaticExternalScope: bool | None#

Gets or sets whether to define programmatically the external scoping method and pattern for the external enclosure. The default value is false.

property MeshWorkflowControl.CenterPlaneNormalOffset: Ansys.Core.Units.Quantity | None#

It defines the desired offset of the plane of the hemisphere from the model.

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

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

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

Gets the list of children.

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

Height of a single layer of mesh elements.

property MeshWorkflowControl.ControlDataDefinition: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.ControlDataDefinedByType | None#

This property is used to define if the control data is defined by value or by settings.

property MeshWorkflowControl.ControlType: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.ControlType | None#

Returns the type of the control.

property MeshWorkflowControl.CoordinateSystem: Ansys.ACT.Automation.Mechanical.CoordinateSystem | None#

Gets or sets the Coordinate System object used to define the material point location.

property MeshWorkflowControl.CreateFaceZone: bool | None#

Gets or sets whether to create a new face zone.

property MeshWorkflowControl.CreateQuads: bool | None#

Gets or sets whether to create quadratic elements. The default value is false.

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

Gets the current DataModelObject's category.

property MeshWorkflowControl.DeleteEmptyVolumes: bool | 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.DeleteInputScope: bool | None#

Gets or sets whether to delete of input scope after wrapping. The default value is false.

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

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

property MeshWorkflowControl.EdgeLabelName: str | None#

This property is used to rename the default edge label 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.EnableCheckpoint: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.CheckpointDefinitionType | None#

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

property MeshWorkflowControl.ExcludeEnclosure: bool | None#

Gets or sets whether to exclude the enclosure from the wrapper scope . The default value is false.

property MeshWorkflowControl.ExternalLabelName: str | None#

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

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.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.ExternalScopePattern: str | None#

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

property MeshWorkflowControl.FaceZoneByPart: bool | None#

Gets or sets whether to define an independent face zone for each input part.

property MeshWorkflowControl.FaceZoneName: str | None#

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

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

Gets the list of associated figures.

property MeshWorkflowControl.Filename: str | None#

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

property MeshWorkflowControl.Filenames: str | None#

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

property MeshWorkflowControl.GrowthRate: float | None#

Gradient of element size as each layer grows.

property MeshWorkflowControl.HemisphereCenterModality: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.HemisphereCenterDefinitionType | None#

This property is used to define the rule for the computation of the center of the hemispherical enclosure.

property MeshWorkflowControl.HemisphereOrientationModality: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.HemisphereOrientationDefinitionType | None#

This property is used to define the rule for the computation of the orientation of the hemispherical enclosure.

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

Gets the list of associated images.

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.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.InnerScopePattern: str | None#

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

property MeshWorkflowControl.InternalLabelName: str | None#

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

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

Gets the internal object. For advanced usage only.

property MeshWorkflowControl.LabelName: str | None#

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

property MeshWorkflowControl.Material: str | None#

Gets or sets the Material.

property MeshWorkflowControl.MaterialName: str | None#

Gets or sets the Material Name.

property MeshWorkflowControl.MaterialPointDefinition: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.MaterialPointDefineByType | None#

Gets or sets the material point definition type.

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.MeshFlowControl: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.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.MinimalNumberOfVolumetricLayers: int | None#

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

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

It defines the desired minimal radius of the spherical enclosure.

property MeshWorkflowControl.NumberOfAttempts: int | None#

Number of attempts for mesh convergence.

property MeshWorkflowControl.NumberOfLayers: int | None#

Number of layers of mesh elements.

property MeshWorkflowControl.PartName: str | None#

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

property MeshWorkflowControl.PercentageIncrement: float | 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.Properties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#

Gets the list of properties for this object.

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

It is defined by Material Point or External.

property MeshWorkflowControl.Remesh: bool | None#

Gets or sets whether to allow the remesh of already meshed volumes. The default value is false.

property MeshWorkflowControl.RepairModel: bool | None#

Gets or sets whether to repair the PrimeMesh model after the reading operation is executed. The default value is false.

property MeshWorkflowControl.RestrictBoundaryNodes: bool | None#

Gets or sets whether to restrict the boundary nodes displacement. The default value is true.

property MeshWorkflowControl.ReverseSurfaceOrientation: bool | None#

Reverse Surface Orientation. The default value is false.

property MeshWorkflowControl.ScaleFactor: float | None#

Scale Factor is used to scale shapes in different dimensions.

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.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.ScopePattern: str | None#

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

property MeshWorkflowControl.SizeFieldName: str | None#

This property is used to define the name of the size field to apply to the meshing operation.

property MeshWorkflowControl.SmoothingIterations: int | None#

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

property MeshWorkflowControl.SmoothingPreserveVolume: bool | None#

Gets or sets whether 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.SphereCenterModality: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.SphereCenterDefinitionType | None#

This property is used to define the rule for the computation of the center of the spherical 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.TargetSkewness: float | None#

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

property MeshWorkflowControl.Thickness: float | None#

Gets or sets the Thickness to be assigned to the scoped zone.

property MeshWorkflowControl.TopologyConformalConnection: bool | None#

Gets or sets whether to preserve the topology connection for the newly created faces. The default value is false.

property MeshWorkflowControl.TriangleCountReductionMode: Ansys.Mechanical.DataModel.MechanicalEnums.MeshWorkflow.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.VisibleProperties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#

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

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

Type of Volume elements such as Tetrahedrons and Hex.

property MeshWorkflowControl.VolumeZoneName: str | None#

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

property MeshWorkflowControl.WrapByParts: bool | None#

Gets or sets whether to wrap each part separately. The default value is false.

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

It defines the X Coordinate.

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

It defines the Y Coordinate.

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

It defines the Z Coordinate.

Method detail#

MeshWorkflowControl.Activate() None#

Activate the current object.

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

Creates a new child Figure.

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

Copies all visible properties from this object to another.

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

Creates a new parameter for a Property.

MeshWorkflowControl.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Gets the list of children, filtered by type.

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

Gets the parameter corresponding to the given property.

MeshWorkflowControl.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

MeshWorkflowControl.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.
MeshWorkflowControl.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#

Get a property by its unique name.

MeshWorkflowControl.RemoveParameter(propName: str) None#

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