*createfbdgroupfortraceplot

Creates a freebodygroup entity, used for FBD trace plots.

Syntax

*createfbdgroupfortraceplot name=<value> node_ids=<value> entType=<value> num_cuts=<value> ?path_dir=<value>? ?userDir=<dx dy dz>? ?sys_id=<value>?

Type

HyperMesh Tcl Modify Command

Description

Creates a freebodygroup entity, used for FBD trace plots.

Options can be provided in any order.

Inputs

name=<value>
The name of the freebodygroup to create.
node_ids=<value>
The node IDs for the trace path, given in sequence. A minumum number of 2 nodes are required.
entType=<value>
Must be set to elems.
num_cuts=<value>
The number of cuts between each sequential node in node_ids. If 0 then sections are only created at the nodes.
path_dir=<value>
0 - User direction
1 - Trace path direction
userDir=<dx dy dz>
When path_dir=0 , this is a triple double defining the direction vector.
sys_id=<value>
The ID of the system entity.

Example

To create a freebodygroup named test with no cuts, a user direction, and system 1:
*createfbdgroupfortraceplot name=test node_ids={813 664} entType=elems num_cuts=0 path_dir=0 userDir={0.803557 0.595228 0.000000} sys_id=1
To create a freebodygroup named test with 4 cuts, a trace path direction, and no system:
*createfbdgroupfortraceplot name=test node_ids={813 664} entType=elems num_cuts=4 path_dir=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