*createseatbeltlinewithmesh

Creates a one-dimensional seatbelt.

Syntax

*createseatbeltlinewithmesh entity markmask fromNode toNode fromSidePlane middlePlane toSidePlane gap density elementsize

Type

HyperMesh Tcl Modify

Description

Creates a one-dimensional seatbelt.

Inputs

entity
Component type about which the seatbelt should be wrapped. Currently only COMPS are supported.
markmask
Components about which the seatbelt should be wrapped.
fromNode
The seatbelt starting point.
toNode
The seatbelt ending point.
fromSidePlane
The plane orienting the starting side of the seatbelt.
middlePlane
The plane orienting the middle of the seatbelt.
toSidePlane
The plane orienting the ending side of the seatbelt.
gap
The offset of the seatbelt from the surface of the components.
density
The number of elements in the seatbelt.
0 - Ignored.
elementsize
The size of one element in the seatbelt. Ignored, if density is nonzero.

Examples

To create a 1D seatbelt with the starting point fromNode and the end point toNode, with the gap equal to 0.1, and the length of elements equal to 0.1.
*createmark comps 1 1-23 27 28 51 69
*createplane 1 0.4263 0.9046 0.0000 -1.8880 0.6000 0.0000
*createplane 2 0.4263 0.9046 0.0000 -1.3161 0.3305 0.1565
*createplane 3 0.4263 0.9046 0.0000 -1.8880 0.6000 1.0000
*CreateSeatBeltLineWithMesh comps 1 66929 66928 1 2 3 0 0 0.1

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}