*sl_feature_mesh

Performs feature-based meshing of surfaces using meshcontrols.

Syntax

*sl_feature_mesh surface_mark_id meshcontrol_mark_id mode

Type

HyperMesh Tcl Modify

Description

Performs feature-based meshing of surfaces using meshcontrols.

Inputs

surface_mark_id
The ID of the mark containing the surfaces to mesh. Valid values are 0 (inactive), 1 and 2.
meshcontrol_mark_id
The ID of the mark containing the meshcontrols to use. Valid values are 1 and 2.
mode
0 - Global, body and feature controls will be meshed. At least one global or body control is needed.
1 - Feature controls only are meshed. Global/body controls are optional.
Any surfaces defined in a feature meshcontrol must also be selected via the surface_mark_id, or also be defined in a body control. Otherwise, they will be ignored. The surfaces defined in the feature controls are meshed first, and the remainder are meshed by the global or body control as appropriate.

Examples

The mesh all surfaces in the model using meshcontrols 1-3:

*createmark surfs 1 all
*createmark meshcontrols 1 1 2 3
*sl_feature_mesh 1 1 0

To mesh using all meshcontrols, with only feature controls expected to be meshed:

*createmark meshcontrols 1 all
*sl_feature_mesh 0 1 1

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

14.0