*graphicsfilecolor

Sets the graphics file image color mode.

Syntax

*graphicsfilecolor mode

Type

HyperMesh Tcl Modify

Description

Sets the graphics file image color mode.

Inputs

mode
Graphics file image color mode.
  • 0 - Grayscale image.
  • non-zero - Color image.

Examples

To capture the modeling window to a JPEG image named C:/my_images/model.jpg using color:
*graphicsfilecolor 1
*jpegfilenamed "C:/my_images/model.jpg"
To capture the modeling window to a JPEG image named C:/my_images/model.jpg using grayscale:
*graphicsfilecolor 0
*jpegfilenamed "C:/my_images/model.jpg"

Version History

11.0