*createfbdgroupfortraceplot
Creates a freebodygroup entity, used for FBD trace plots.
Syntax
*createfbdgroupfortraceplot name node_ids entType num_cuts ?path_dir? ?userDir? ?sys_def? ?sys_id? ?sys_ref_dir?
Type
HyperMesh Tcl Modify Command
Description
Creates a freebodygroup entity, used for FBD trace plots.
Options can be provided in any order.
Inputs
- name
- The name of the freebodygroup to create.
- node_ids
- The list of node IDs for the trace path, given in sequence. A minimum number of 2 nodes are required.
- entType
- Must be set to elems.
- num_cuts
- The number of cuts between each sequential node in node_ids. If 0 then sections are only created at the nodes.
- path_dir
- 0 - User direction
- userDir
- When path_dir is set to 0, this is a triple double defining the direction vector.
- sys_def
- The system definition. Valid values are "Global", "Direction based" and "User defined".
- sys_id
- The ID of the system entity.
- sys_ref_dir
- The reference direction defined as a triple double defining the direction vector.
Example
To create a freebodygroup named test with no cuts, a user direction, and system
1:
*createfbdgroupfortraceplot test {813 664} elems 0 0 {0.803557 0.595228 0.000000} "User defined" 1
To create a freebodygroup named test with 4 cuts, a trace path direction, and no
system:
*createfbdgroupfortraceplot test {813 664} elems 4 1
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