*display_thickness

Sets or graphically reviews the thickness assigned to a midsurface.

Syntax

*display_thickness mark_id thickness update

Type

HyperMesh Tcl Modify Command

Description

This command sets or reviews the thickness assigned to a midsurface.

Inputs

mark_id
The ID of the mark containing the surfaces to set or review. Valid values are 1 and 2.
thickness
The thickness to assign to the surfaces on the mark. A negative or zero value sets the thickness to 0. This is ignored, if update is set to 0.
update
0 - Display the thickness of the selected surfaces in the graphics area.
1 - Update the thickness of the selected surfaces.

Example

To display the thicknesses of surfaces 1, 5, 6, 7, and 10:
*createmark surfaces 1 5 6 7 10
  *display_thickness 1 0 0
To assign surfaces 1, 5, 6, 7, and 10 a thickness of 5:
*createmark surfaces 1 5 6 7 10
  *display_thickness 1 5 1
To remove the thickness attribute from surfaces 1, 5, 6, 7, and 10 (e.g. set thickness to zero):
*createmark surfaces 1 5 6 7 10
  *display_thickness 1 -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
}