*control_sum_3
Outputs the sum of the coordinates of all elements (center or nodes) in the model.
Syntax
*control_sum_3 file comment mode
Type
HyperMesh Tcl Modify
Description
Outputs the sum of the coordinates of all surface vertices in the model. This also includes the sum of the coordinates of a point inside every surface.
Inputs
- file
- The full path and file name to write the result to.
- comment
- A text comment to add to the result file. Should be enclosed in double quotes "".
- mode
- The mode to calculate the sum. Valid values are:
- 0 - Use element centers.
- 1 - Use element nodes.
Examples
*control_sum_3 C:/control_sum_3.txt "" 0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0