*ReassignSeatbeltRodNodes
Reassigns the start and end nodes of a 1D seat belt.
Syntax
*ReassignSeatbeltRodNodes entity_type mark_id from_node to_node
Type
HyperMesh Tcl Modify
Description
Reassigns the start and end nodes of a 1D seat belt created via *linemesh_savedata1.
Inputs
- entity_type
- The type of entity which forms the 1D seat belt. Valid only for elems.
- mark_id
- The ID of the mark containing the 1D seat belt elements. Valid values are 1 and 2.
- from_node
- The ID of the "from" node.
- to_node
- The ID of the "to" node.
Example
To create and mesh a 1D line, and update the to/from nodes:
*createentity node x=0 y=0 z=0
*createentity node x=10 y=0 z=0
*linecreatestraight 0 0 0 10 0 0
*createmark lines 1 1
*linemesh_preparedata1 lines 1 90 61
*linemesh_saveparameters 0 10 0 0
*linemesh_savedata1 1 61 0 0
*createmark elements 1 all
*ReassignSeatbeltRodNodes elements 1 1 2
Errors
if { [ catch {command_name...} ] } {
# Handle error
}