Importing CSV file to TABLED1 curve
Answers
-
Hello Akhil
I would recommend the following steps :
1. Create a curve using Card Image : TABLED1
2. Add some dummy X, Y points in curve editor.
This should give you the commands for the above steps in the command.tcl . You can view the commands from Edit -> Command Files.
Commands to read points are mentioned below (https://help.altair.com/hwdesktop/hwd/topics/reference/hm/_curveaddpoint.htm)
*curveaddpoint 20024 0 0 0
*curveaddpoint 20024 0 0 0
The next step will be write a .tcl code to read a .csv file and save the X and Y co-ordinates in a list. Then you can iterate over the X,Y co-ordinates list and use *curveaddpoint to add individual points to the curve.
Another loop would be for the number of curves you wish to create which will depend on the number of .csv files
1