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
hm_getactiveplotcontrolvalues contour node byid 278
*createmark nodes 1 all
hm_getactiveplotcontrolvalues contour node bymark 1
hm_getactiveplotcontrolvalues contour elements byid 154
hm_getactiveplotcontrolvalues vector node byid 163
hm_getactiveplotcontrolvalues tensor elements byid 376
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2021.2
2022.3 - Added support for new plot_type marker.