Model.hm_exportdummytargetpointstocsv#
- Model.hm_exportdummytargetpointstocsv(designPoints, file_path)#
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.
- Parameters:
designPoints (Collection) – The collection containing the entities of the design points to be exported.
file_path (hwString) – The path to the CSV file.
- Returns:
hwReturnStatus- Status object
Example#
Export design points with IDs 1 , 2 , and 3 to a file named targetpoints.csv located in the C:/temp directory#import hm import hm.entities as ent model = hm.Model() model.hm_exportdummytargetpointstocsv( designPoints=hm.Collection(model, ent.DesignpointTargetPoint, [1, 2, 3]), file_path="C:/temp/targetpoints.csv" )