hm_exportdummytargetpointstocsv

Exports the marked design points with ‘TargetPoint’ configuration to a CSV file.

Syntax

hm_exportdummytargetpointstocsvmark_id file_path

Type

HyperMesh Tcl Query Command

Description

Exports design points in the model with 'TargetPoint' configuration to a comma separated values (CSV) file. The following fields will be written in the CSV file:

  • the name of the design point,
  • X/Y/Z,
  • the corresponding test lab measurement data,
  • the allowed negative deviation,
  • the allowed positive deviation,
  • the coordinate value for the measurement node located on the dummy,
  • the signed difference between the CAE position and the test data.

If the specified CSV file already exists, it will be overwritten.

Inputs

mark_id
The ID of the mark containing the design points to be exported. Valid values are 1 and 2.
file_path
The path to the CSV file.

Example

To export design points ID 1, 2, and 3 to a file named targetpoints.csv located in the C:/temp directory:
*createmark designpoints 1 1 2 3
hm_exportdummytargetpointstocsv 1 "C:/temp/targetpoints.csv"            

Errors

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

Version History

2022