*surfacereversenormals2
Reverses the normals of surfaces.
Syntax
*surfacereversenormals2 entity_type mark_id size adjust_fe
Type
HyperMesh Tcl Modify Command
Description
Reverses the normals of surfaces, and optionally any associated FE.
The minimum set of surfaces to maintain overall normal direction consistency, without affecting other surfaces, is automatically adjusted based on the input selection.
Inputs
- entity_type
- The type of entity to reverse normals for. Valid values are surfaces, solids and components.
- mark_id
- The ID of the mark containing the input entities. Valid values are 1 and 2.
- size
- Specifies the size of the normal graphics to be drawn, if vector normal display is set. If set to zero, the vector is drawn at 10% of the screen size.
- adjust_fe
- If non zero, normals for elements associated with selected surfaces will be automatically adjusted to match the normals of their surfaces.
Example
To reverse the normals for surfaces 1-10 along with the associated FE, and to display the adjusted element normals with a size of 5.0:
*createmark surfs 1 1-10
*surfacereversenormals2 surfs 1 5.0 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