hm_visualizeloads
Plots engineering loads referenced by a load collector.
Syntax
hm_visualizeloads entity_type mark_id config plottype=<value> ?option=<value>?Type
HyperMesh Tcl Query Command
Description
Plots engineering loads referenced by a load collector honoring the scale factor defined in the collector.
Inputs
- entity_type
- The type of entity referencing the loads. Currently only load collectors are supported.
- mark_id
- The ID of the mark containing the specified entity type. Valid values are 1 and 2.
- config
- The config of the load to be reviewed.
- plottype=<value>
- The requested plot type. A validation is performed for the referred loads to ensure they are valid for the specified plot type.
- showlabel=<value>
- The labels for the vector plot. The display of labels is also dependent on the global load handle flag.
- locationentitytype=<value>
- The entity type where the load is applied. If specified, only the loads which are applied on the specified entity type will be reviewed. Valid values are nodes and elements.
Examples
To create a vector plot of force loads with
labels:
*createmark loadcols 1 all
hm_visualizeloads loadcols 1 1 plottype=1 showlabel=1
To create a scalar plot of temperature loads referenced by load collectors 1-10 applied on
nodes:
*createmark loadcols 1 1-10
hm_visualizeloads loadcols 1 5 plottype=2 locationentitytype=nodes
To clear all graphics:
hm_visualizeloads plottype=0
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.1