hm_fbdplot

Create FBD panel or bar plots.

Syntax

hm_fbdplot plot_type entity_type mark_id subcase_ids resultid=<value> ?<option1>=<value1>? ?<option2>=<value2>? ... ?<optionN>=<valueN>?

Type

HyperMesh Tcl Query Command

Description

Create FBD panel or bar plots.

Inputs

plot_type
The type of plot to generate:
barplot - Create FBD bar plot
clear - Clear all plots
panelplot - Create FBD panel plot
entity_type
The type of entity for the plot. For panel plots, this must be panels. For bar plots, this must be freebodysection.
mark_id
The ID of the mark containing the input panels or freebodysections. Valid values are 1 and 2.
subcase_ids
The subcase IDs to consider, as a comma separated string with each substring consisting of the result file ID, subcase ID and step ID. For example: {1 1 0, 1 2 0, 2 1 0, 2 1 1}.
resultid=<value>
The ID of the result entity to use. This is a mandatory option.
absolute=<value>
0 - Algebraic envelope plot (default)
1 - Absolute envelope plot
arrlen=<value>
The plot arrow length. Default is 75(%).
arroworigin=<value>
For bar plots only:
0 - Tail of arrow at node (default)
1 - Tip of arrow at node
colorfx=<value>
The bar plot Fx force and panel plot normal load arrow color. Valid values are 1-64.
colorfy=<value>
The bar plot Fy force and panel plot tangential load arrow color. Valid values are 1-64.
colorfz=<value>
The bar plot Fz force arrow color. Valid values are 1-64.
colormx=<value>
The bar plot Mx moment arrow color. Valid values are 1-64.
colormy=<value>
The bar plot My moment arrow color. Valid values are 1-64.
colormz=<value>
The bar plot Mz moment arrow color. Valid values are 1-64.
declim=<value>
The decimal number limit. Default is 2.
envelope=<value>
0 - No envelope calculation (default)
1 - Envelope calculation
fx=<value>
Display the Fx forces for bar plots:
0 - Do not show (default)
1 - Show
fy=<value>
Display the Fy forces for bar plots:
0 - Do not show (default)
1 - Show
fz=<value>
Display the Fz forces for bar plots:
0 - Do not show (default)
1 - Show
gpf=<value>
For panel plots only:
0 - Element forces (default)
1 - Grid-point forces
midarrow=<value>
For panel plots only:
0 - Do not show mid arrow (default)
1 - Show mid arrow
minmax=<value>
0 - Min envelope plot (default)
1 - Max envelope plot
mx=<value>
Display the Mx moments for bar plots:
0 - Do not show (default)
1 - Show
my=<value>
Display the My moments for bar plots:
0 - Do not show (default)
1 - Show
mz=<value>
Display the Mz moments for bar plots:
0 - Do not show (default)
1 - Show
normalload=<value>
0 - Do not show normal load (default)
1 - Show normal load
onelems=<value>
For bar plots only:
0 - Do not plot on element centroids (default)
1 - Plot on element centroids
onenodes=<value>
For bar plots only:
0 - Do not plot on element nodes (default)
1 - Plot on element nodes
plotdir=<value>
For bar plots only and normalload=1, the plot direction of the normal load:
0 - Auto (default)
1 - Global x axis
2 - Global -x axis
3 - Global y axis
4 - Global -y axis
5 - Global z axis
6 - Global -z axis
scientific=<value>
0 - Fixed format text (default)
1 - Scientific format text
showvalue=<value>
0 - Show value text
1 - Hide value text (default)
sizescale=<value>
For bar plots only:
0 - Constant scaling of arrow length (default)
1 - Magnitude scaling of arrow length
tangentialload=<value>
For panel plots only:
0 - Do not show tangential load (default)
1 - Show tangential load
tolerance=<value>
The tolerance to limit the values for the plot creation. Default is 0.00001.
vecstyle=<value>
For bar plots only:
0 - 3D style arrow (default)
1 - 2D style arrow

Examples

Create a panel plot:
*createmark panels 1 1 2 3
hm_fbdplot panelplot panels 1 {1 1 0, 1 2 0, 2 1 0, 2 1 1} resultid=1 scientific=0 gpf=0 arrlen=75 declim=2 showvalue=1 midarrow=0 tangentialload=1 normalload=1 envelope=0 absolute=1 minmax=1 colorfx=3 colorfy=4
Clear all plots:
hm_fbdplot clear

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