*bar3elementcreatewithoffsets
Creates a bar3 element with offsets.
Syntax
*bar3elementcreatewithoffsets node1 node2 node3 vector_id orientation_node y_dir pin_flags_a pin_flags_b property_name offset_system_a offset_x_a offset y_a offset_z_a offset_system_b offset_x_b offset_y_b offset_z_b
Type
HyperMesh Tcl Modify Command
Description
Creates a bar3 element with offsets.
Inputs
- node1
 - The first node ID (end a).
 - node2
 - The second node ID.
 - node3
 - The third node ID (end b).
 - vector_id
 - The ID of the y-axis vector to use, defined using the *createvector command. If used, this must be set to 1. This argument is only used if orientation_node is 0.
 - orientation_node
 - The orientation node ID. If set to 0, then vector_id is used. If non-zero, then y_dir specifies whether this node defines the local y- or local z-axis.
 - y_dir
 - If set to 1, then orientation_node defines the local y-axis of the bar. Otherwise, orientation_node defines the local z-axis.
 - pin_flags_a
 - The pin flags at end a. A pin flag of 0 passes forces in all degrees of freedom.
 - pin_flags_b
 - The pin flags at end b. A pin flag of 0 passes force in all degrees of freedom.
 - property_name
 - The name of the property collector assigned to the bar.
 - offset_system_a
 - The system used to define the offsets at end a. Valid values are: 
- 0 - Offsets given in global coordinate system.
 - 1 - Offsets given in local coordinate system of node1.
 - 2 - Offsets given in elemental coordinate system.
 
 - offset_x_a
 - The offset in the x-direction at end a.
 - offset_y_a
 - The offset in the y-direction at end a.
 - offset_z_a
 - The offset in the z-direction at end a.
 - offset_system_b
 - The system used to define the offsets at end b. Valid values are: 
- 0 - Offsets given in global coordinate system.
 - 1 - Offsets given in local coordinate system of node1.
 - 2 - Offsets given in elemental coordinate system.
 
 - offset_x_b
 - The offset in the x-direction at end b.
 - offset_y_b
 - The offset in the y-direction at end b.
 - offset_z_b
 - The offset in the z-direction at end b.
 
Examples
*createvector 1 1.0000 0.0000 0.0000
*bar3elementcreatewithoffsets 101 102 103 1 0 0 0 0 "prop1" 0 0.2 0.2 0.2 0 0.3 0.3 0.3Errors
if { [ catch {command_name...} ] } {
   # Handle error
}Version History
11.0