A program to recognize and reward our most engaged community members
Hi all,
I am looking out for any examples to write stress/node id data to excel sheet TWAPI in Tcl/Tk.
Thanks in advance,
Regrads,
Girish C Hirekerur
Hi,
If you just want to write raw data, write it as CSV text format (can be opened by excel)
example
set fpt [open example.csv w]
puts $fpt 'NodeID,StressValue'
puts $fpt [join 1 100]
puts $fpt [join 2 200]
puts $fpt [join 3 300]
close $fpt
==> open example.csv by excel to see
Hi Tinh,
I need to write the data from Hyperview in an organised readable manner.I referred to an example as given below :
$excel -destroy
I tried to use the above example.
i.How should I add New Sheet to the file.
ii.Can change the name of the file from Sheet1,Sheet2,etc. to something different say :Normal Force,Axial Force.etc
iii. Any detailed documentation of all the classes available in TWAPI ?
Girish
there is document of using twapi. you can search it on google
for excel COM, perhaps you should look at MSDN
https://msdn.microsoft.com/en-us/library/office/ff193217.aspx
Why need XLS when you can make CSV?