*orient_normals_outside_solid

Re-orients the normals of a solid inside or outside, depending on the orientation flag.

Syntax

*orient_normals_outside_solid mark_id orientation

Type

HyperMesh Tcl Modify Command

Description

This command re-orients the normals of a solid inside or outside, depending on the orientation parameter.

Inputs

mark_id
The mark of solids selected for orientation. Valid values are 1 and 2.
orientation
The value of orientation.
  • 0 - Orient normals outside solid
  • 1 - Orient normals inside solid

Example

To orient the normals for all solids toward the inside:

*createmark solids 1 all
*orient_normals_outside_solid 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

9.0