1 set outfile [ open loaction.tcl w ]
2 data loop cell "model_cell -cell_type standard" $m
3 {
4 set aaa [ query location cell $cell ]
5 puts $outfile "force location cell $cell $aaa"
6 }
Hi vak,
Could u explain the first line syntax please and also the addition made to line no 5. what is the use of that "open loaction.tcl w" and saving it to an attribute outfile. I tried this script and it is working correctly. Could u suggest some materials for learning tcl or more precisely m-tcl. till nw i am following the user guide and am not able to implement it to practical applications.