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