*control_sum_2

Outputs the sum of the coordinates of all surface vertices in the model.

Syntax

*control_sum_2 file comment format

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 "".
format
The format of the output result. Valid values are:
  • 0 - General format (%g).
  • 1 - Scientific notation (%22.12e).

Examples

To output the control sum to C:/control_sum_2.txt:
*control_sum_2 C:/control_sum_2.txt "" 0

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}