hm_plotloads

Plot engineering loads with various options.

Syntax

hm_plotloads <select_type>=<selection> dataname=<data name> plottype=<value>

Type

HyperMesh Tcl Query Command

Description

Plot engineering loads with various options.

Inputs

<select_type>=<selection>
The load entity or entities requested for plotting. There are several ways to provide the entities to be queried. Only one option can be used at a time:
id=<id>
The ID of the single entity to query.
mark=<mark_id>
The ID of the mark containing the entities to query.
dataname=<data name>
The data name of the load entity to plot. magnitude is a special data name where even if magnitude is not explicitly available, it is computed on-the-fly.
plottype=<value>
The requested plot type. A validation is performed for the selected loads to ensure they are valid for the specified plot type (e.g. a vector plot is not valid for temperature, but is for pressure). Valid values are:
0 - Clear all graphics (default if not specified)
1 - Vector plot
2 - Interactive scalar plot
3 - Static scalar plot

Examples

Vector plot all force loads:
*createmark loads 1 "by config" 1
hm_plotloads mark=1 dataname=magnitude plottype=1
Scalar plot temperature 5:
hm_plotloads id=5 dataname=magnitude plottype=2
Clear all plot graphics:
hm_plotloads

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

2020