*setcuttingplanecolor

Sets the color of the base of the specified cutting plane.

Syntax

*setcuttingplanecolor axis mode color

Type

HyperMesh Tcl Modify Command

Description

Sets the color of the base of the specified cutting plane.

Inputs

axis
The axis that is normal to the plane. Valid values are:
  • 0 - the plane with x-axis as its normal
  • 1 - the plane with y-axis as its normal
  • 2 - the plane with z-axis as its normal
mode
Sets the display mode for the specified cutting plane. Valid values are:
  • 0 - solid color
  • 1 - contours
color
The color to use when mode=0. Valid values are 1-64.

Example

To set the cutting plane with y-axis as its normal to use solid color 24:

*setcuttingplanecolor 1 0 24

Errors

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