Get all components from .csv and import only one out of them
Hi All,
I have one .csv file which contains part numbers in one column and their FE model (.bdf) file paths in another column. Now i want to write a tcl script that will read all part same numbers and their corresponding paths and it will give a pop-up window that 'which part you want to import?'.
How can i do this? Please help regarding this.
Regards,
Sanket
Answers
-
These are some tasks in script:
1.read the csv file
2.construct a list of items {partNO file_path}
3.using lsearch to filter same partNO items, extract their paths and show on message.
Can you do it?
0 -
@tinh can you give me example of lsearch command for the same?
0 -
Yes
Type 'lsearch' in google box
View 1st page
Are those examples ok?
0 -
Yes..
Thanks /emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' />
0