I want to read my database excel sheet in hypermesh to import part directly. How can we do that??
Can you open/read a csv file?
yes
Can you import parts?
no..can you tell tcl script to read .csv file in hypermesh??
set fp [open $filepath r] set fileData [read $fp] close $fp set fileLines [split $fileData '\n']
foreach line $fileLines { set lineData [split $line ,] puts 'Parts of the line: [lindex $lineData 0] and [lindex $lineData 1]' }
Can you open/read a csv file?