hm_getactiveplotcontrolvalues

Queries the result values on entities for the active plot control.

Syntax

hm_getactiveplotcontrolvalues plot_type entity_type sel_mode entity_id_or_mark_id

Type

HyperMesh Tcl Query Command

Description

Queries the result values for the active plot control. 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, tensor, and marker.
entity_type
The entity type for which the values are queried. The valid values are nodes, elements, and components.
sel_mode
The selection mode. Valid values are “byid” or “bymark”.
entity_id_or_mark_id
The entity ID or the mark ID containing the entities to query. If the entity_type is component and the sel_mode is “bymark”, then the mark should contain only one component and the command returns the min/max values of that component.

Example

To query the nodal contour value on node 278:
hm_getactiveplotcontrolvalues contour node byid 278
To query nodal contour values for all the nodes:
*createmark nodes 1 all
hm_getactiveplotcontrolvalues contour node bymark 1
To query elemental contour value on element 154:
hm_getactiveplotcontrolvalues contour elements byid 154
To query nodal vector values on node 163:
hm_getactiveplotcontrolvalues vector node byid 163
To query element tensor values on element 376:
hm_getactiveplotcontrolvalues tensor elements byid 376

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

2022.3 - Added support for new plot_type marker.