*barelementupdate
Updates the vector (global system), pin flags and property for multiple bar and/or bar3 elements.
Syntax
*barelementupdate mark_id update_vector vector_id update_pins pin_flags_a pin_flags_b update_property property_name
Type
HyperMesh Tcl Modify Command
Description
Updates the vector (global system), pin flags and property for multiple bar and/or bar3 elements.
Inputs
- mark_id
 - The ID of the mark containing the bar and/or bar3 elements to update. Valid values are 1 and 2.
 - update_vector
 - If non-zero, vector_id is used to update the local y-axis.
 - 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 vector is defined in the global system.
 - update_pins
 - If non-zero, pin_flags_a and pin_flags_b are used to update the pin flags.
 - 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.
 - update_property
 - If non-zero, property_name is used to update the property.
 - property_name
 - The name of the property collector assigned to the bar.
 
Examples
*createmark elements 1 12 12
*createvector 1 1.0 0.0 0.0
*barelementupdate 1 1 1 0 0 0 1 crossmemErrors
if { [ catch {command_name...} ] } {
   # Handle error
}