*updateseatbelt

Updates a two-dimensional seat belt entity.

Syntax

*updateseatbelt name entity_type mark_id node_list_id gap width from_end_length to_end_length start_vector end_vector use_default_ends use_rigid_link mesh_type mesh_size 1d_comp_name 2d_comp_name

Type

HyperMesh Tcl Modify

Description

Updates a two-dimensional seat belt entity.

Inputs

name
The name of the seat belt entity.
entity_type
The type of an entity around which the seat belt should be wrapped. Seat belts can be wrapped around components, elements, and ellipsoids.
mark_id
The ID of the mark containing the wrapped seat belt entities. Valid values are 1 and 2.
node_list_id
The ID of the list of nodes for the seat belt orientation, including from node, middle nodes and to node. Valid values are 1 and 2.
gap
The offset for the seat belt from the surface of the entities.
width
The total width of the 2D element section of the belt.
from_end_length
The length on the "from" end where the seat belt is one-dimensional.
to_end_length
The length on the "to" end where the seat belt is one-dimensional.
start_vector
The ID of the vector created by *createvector that defines the starting edge of the seat belt. Valid values are 0 (ignored), 1 and 2.
end_vector
The ID of the vector created by *createvector that defines the ending edge of the seat belt. Valid values are 0 (ignored), 1 and 2.
use_default_ends
0 - Use user defined start and end vectors.
1 - Use default end vectors (recommended).
use_rigid_link
0 - Use tria element transitions to 1D lines at each end of the seat belt.
1 - Use rigid link transitions to 1D lines at each end of the seat belt.
mesh_type
0 - Tria
1 - Quad
mesh_size
The element size used for the 2D mesh.
1d_comp_name
The name of the component into which the 1D elements will be organized.
2d_comp_name
The name of the component into which the 2D elements will be organized.

Example

To update a 2D seat belt named seatbelt1, around the selected components, using nodes 17373, 13032, 20870 and 34327, a gap of 5, a width of 50, end lengths of 25, using default vectors, using rigid links at the ends, using quad mesh type, and an element size of 8:

*createmark components 1 "Fabric seat cushion" "UPPER TORSO" "LOWER TORSO" "PELVIS" "LINK"
*createlist nodes 1 17373 13032 20870 34327
*updateseatbelt "seatbelt1" components 1 1 5 50 25 25 0 0 1 1 1 8 "SeatBelt1DElems" "SeatBelt2DElems"

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

14.0