*springsosupdate
Updates a spring element using various orientation methods.
Syntax
*springsosupdate mark_id property_flag propery_name vector_flag vector_id direction_node_id orient_x orient_y orient_z orient_comps_flag system_id update_orient_flag
Type
HyperMesh Tcl Modify Command
Description
Updates a spring element using various orientation methods.
The orientation may be specified using either vector_id, direction_node_id, system_id or individual components (orient_x, orient_y, orient_z).
Inputs
- mark_id
- The ID of the mark containing the spring elements to update.
- property_flag
-
- 0 - Do not update property_name
- 1 - Update property_name
- property_name
- The name of the property to assign to the element.
- vector_flag
-
- 0 - Do not update the orientation vector
- 1 - Update the orientation vector
- vector_id
- The ID of the orientation vector assigned to the element.
- direction_node_id
- The ID of the direction node assigned to the element.
- orient_x
- The x-component of the orientation vector.
- orient_y
- The y-component of the orientation vector.
- orient_z
- The z-component of the orientation vector.
- orient_comps_flag
-
- 0 - Do not use individual components to define the orientation
- 1 - Use individual components to define the orientation
- system_id
- The ID of the orientation system assigned to the element.
- update_orient_flag
-
- 0 - Do not update the orientation vector's component or system
- 1 - Update the orientation vector's component or system
Example
*createmark elements 1 16 17 18
*springsosupdate 1 1 "sprate" 1 0 0 10 11 12 1 0 1
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0