MeshWorkflowControl
#
- class ansys.mechanical.stubs.v241.Ansys.ACT.Automation.Mechanical.MeshWorkflowControl#
Bases:
object
Object that wraps IDSEngineeringModelControl.
Overview#
|
Run the Delete action. |
|
Gets the list of children, filtered by type. |
|
Gets the list of children, filtered by type. |
|
Creates a new child Figure. |
|
Creates a new child Image. |
|
Activate the current object. |
|
Copies all visible properties from this object to another. |
|
Creates a copy of the current DataModelObject. |
|
Run the GroupAllSimilarChildren action. |
|
Run the GroupSimilarObjects action. |
|
Get a property by its unique name. |
|
Get a property by its API name. |
|
Creates a new parameter for a Property. |
|
Gets the parameter corresponding to the given property. |
|
Removes the parameter from the parameter set corresponding to the given property. |
|
Returns the type of the control. |
|
Flag whether to enable a checkpoint or not. The default value is false. |
|
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. |
|
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. |
|
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. |
|
It is defined by value or outcome. |
|
The method can be label/zone/part. |
|
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. |
|
The method can be label/zone/part and it is applied to inner region of enclosure. |
|
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. |
|
The method can be label/zone/part and it is applied to external region of enclosure. |
|
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. |
|
This property gives control over the flow of mesh during surface mesh generation. The supported modes are None, and Global Cartesian. |
|
This property gives control over the mode/degree of triangle count reduction during surface mesh generation. The supported modes are None, Conservative and Aggressive. |
|
Type of Volume elements such as Tetrahedrons and Hex. |
|
It is defined by “Centered”, “Minimal”, and “User Defined”. |
|
It is defined by Material Point or External. |
|
It defines the type of material point, it can be “Include” or “Exclude”. |
|
It defines the X Coordinate. |
|
It defines the Z Coordinate. |
|
It defines the Y Coordinate. |
|
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. |
|
Gets or sets the Material. |
|
Gets or sets the Material Name. |
|
Gets the internal object. For advanced usage only. |
|
The value can be a name of a region or a predefined patterns to select multiple region names. |
|
The value can be a name of a region or a predefined patterns to select multiple region names. |
|
Allows user to input number of iterations needed to achieve good mesh results. |
|
It determines the minimal number of layers of volume elements to be created around the scoped body. |
|
This property is used to rename the default external label name generated during execution of step. |
|
This property is used to rename the default Internal label name generated during execution of step. |
|
Number of layers of mesh elements. |
|
This property is used to define the name of the default face zone name generated during execution of step. |
|
Assign full path to the filename would like to Import/Export. |
|
Assign paths with ‘|’ seperator to this property to read multiple files, pass without seperator if single file. |
|
Number of attempts for mesh convergence. |
|
This property is used to rename the default label name generated during execution of step. |
|
This property allows user to rename the default part name generated during wrap operation. |
|
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. |
|
Scale Factor is used to scale shapes in different dimensions. |
|
The value can be a name of a region or a predefined patterns to select multiple region names. |
|
Set Limit to the skewness of an element. Higher the skewness value, expecting a better mesh result. |
|
Gradient of element size as each layer grows. |
|
This property is used to rename the default volume zone name generated during execution of step. |
|
Define element size to achieve desired mesh results. User can achieve coarse, medium, or fine mesh by varying this value. |
|
It defines the desired minimal radius of the spherical enclosure. |
|
Height of a single layer of mesh elements. |
|
The dihedral angle is the angle between the normal vectors of two element faces. |
|
The external scoping method and pattern of the current step is decided programmatically. The default value is false. |
|
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. |
|
|
|
Restrict the boundary nodes. The default value is true. |
|
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 if volume mesh fails. The default value is false. |
|
Deletion of input scope. The default value is false. |
|
Excluding Enclosure . The default value is false. |
|
Reverse Surface Orientation. The default value is false. |
|
Gets the current DataModelObject’s category. |
|
Gets the list of children. |
|
Gets the list of associated figures. |
|
Gets the list of associated images. |
|
Gets the internal object. For advanced usage only. |
|
Gets the list of properties for this object. |
|
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.