hm_getactiveplotcontrolmaxvalue

Returns the maximum value for the active plot control together with the entity ID.

Syntax

hm_getactiveplotcontrolmaxvalue plot_type entity_type mark_id

Type

HyperMesh Tcl Query Command

Description

Returns the maximum value for the active plot control together with the entity ID. There can be only one active plot control for every plot type.

Inputs

plot_type
The type of plot for which the result values are queried. Valid values are contour, vector, and tensor.
entity_type
The entity type for which the values are queried. The valid values are nodes, elements, and components.
mark_id
The ID of the mark containing the entities that are considered in the evaluation.

Examples

To get the maximum value of the active contour plot for displayed nodes and the corresponding node ID:

*createmark nodes 1 displayed
hm_getactiveplotcontrolmaxvalue contour nodes 1

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

2022.2