*fbddisplacement
Creates an FBD displacement plot, and fields or loads from the results.
Syntax
*fbddisplacement set_ids data_strings num_strings
Type
HyperMesh Tcl Modify Command
Description
Creates an FBD displacement plot, and fields or loads from the results.
This queries the displacement data from the result entity on a freebodysection.
Inputs
- set_ids
- The list of set entity IDs.
- data_strings
- The ID of the string array that contains the additional input parameters. The string array is created using the *createstringarray command. This should always be set to 1.
- num_strings
- Integer indicating the size (number of strings) in the data_strings array.
Example
Create an FBD displacement
plot:
*createstringarray 46 "scientific=1" "arroworigin=0" "tolerance=0.00001" "scid=1" "resfileid=1" "resultid=1" "showvalue=1" "stepid=1" "sizescale=0" "vecstyle=0" "resolvein_sys=3 " "user_sys_id=2" "displacement=1" "rotation=1" "fx=1" "fy=1" "fz=1" "mx=1" "my=1" "mz=1" "fxy=1" "fyz=1" "fxz=1" "mxy=1" "myz=1" "mxz=1" "fxyz=1" "mxyz=1" "arrlen=75" "declim=2" "freenode=2" "display=1" "colorfx=3" "colorfy=4" "colorfz=5" "colorfxy=7" "colorfyz=8" "colorfxz=9" "colorfxyz=12" "colormx=3" "colormy=4" "colormz=5" "colormxy=7" "colormyz=8" "colormxz=9" "colormxyz=12"
set setIds {1 2 3}
*fbddisplacement $setIds 1 46
Create
loads:
*createstringarray 17 "createload=1" "resolvein_sys=0" "scid=1" "resfileid=1" "resulted=1" "stepid=1" "fx=1" "fy=1" "fz=1" "mx=1" "my=1" "mz=1" "tolerance=0.00001" "displacement=1" "rotation=1" "display=0" "freenode=2"
set setIds {1 2 3}
*fbddisplacement $setIds 1 17
Create a
field:
*createstringarray 18 "createload=1" "resolvein_sys=3 " "user_sys_id=2" "scid=1" "resfileid=1" "resulted=1" "stepid=1" "fx=1" "fy=1" "fz=1" "mx=1" "my=1" "mz=1" "tolerance=0.00001" "displacement=1" "rotation=1" "display=0" "freenode=2"
set setIds {1 2 3}
*fbddisplacement $setIds 1 18
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
2019.1