hm_getactiveplotcontrolid

Returns the active plot control ID for a particular result plot type.

Syntax

hm_getactiveplotcontrolid plot_type

Type

HyperMesh Tcl Query Command

Description

Returns the active plot control ID for a particular result plot type. There can be only one active plot control for every plot type.

Inputs

plot_type
The type of result plot. Valid values are contour, vector, tensor, and deformed.

Example

To query the ID of the active contour plot control:
hm_getactiveplotcontrolid contour

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

2021.2