*jpegfilenamed

Captures the graphics area to a JPEG image with the specified name.

Syntax

*jpegfilenamed filename

Type

HyperMesh Tcl Modify

Description

Captures the graphics area to a JPEG image with the specified name.

The color and background settings can be specified using the *graphicsfilecolor and *graphicscolorblankbackground commands.

Inputs

filename
The full path and file name of the image.

Example

To capture the graphics area to a JPEG image named "C:/my_images/model.jpg":

*jpegfilenamed "C:/my_images/model.jpg"

Errors

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