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:
- 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)
- arrlen=<value>
- The plot arrow length. Default is 75(%).
- arroworigin=<value>
- For bar plots only:
- 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)
- fx=<value>
- Display the Fx forces for bar plots:
- fy=<value>
- Display the Fy forces for bar plots:
- fz=<value>
- Display the Fz forces for bar plots:
- gpf=<value>
- For panel plots only:
- midarrow=<value>
- For panel plots only:
- minmax=<value>
- 0 - Min envelope plot (default)
- mx=<value>
- Display the Mx moments for bar plots:
- my=<value>
- Display the My moments for bar plots:
- mz=<value>
- Display the Mz moments for bar plots:
- normalload=<value>
- 0 - Do not show normal load (default)
- onelems=<value>
- For bar plots only:
- onenodes=<value>
- For bar plots only:
- plotdir=<value>
- For bar plots only and normalload=1, the plot direction of the normal load:
- scientific=<value>
- 0 - Fixed format text (default)
- showvalue=<value>
- 0 - Show value text
- sizescale=<value>
- For bar plots only:
- tangentialload=<value>
- For panel plots only:
- tolerance=<value>
- The tolerance to limit the values for the plot creation. Default is 0.00001.
- vecstyle=<value>
- For bar plots only:
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