From: Dhritiman Talukdar (dhritimant_at_gmail.com)
Date: Sat Jan 24 2015 - 09:21:04 CST

Hi,
thanks to all..
I read the mentioned documentation..
I was successful in doing the job..
the commands used were:

set Var [topo getbondlist]
set openfile [open filename.txt w+]
puts $openfile "$Var"
close $openfile

Dhritiman

On Sat, Jan 24, 2015 at 2:35 AM, Axel Kohlmeyer <akohlmey_at_gmail.com> wrote:

> On Fri, Jan 23, 2015 at 3:38 PM, Dhritiman Talukdar
> <dhritimant_at_gmail.com> wrote:
> > Could anyone please tell me how to get the output of "topo getbondlist"
> to a
> > text file from VMD command window??
>
> check out, and particularly #30.
>
> http://www.tcl.tk/man/tcl8.5/tutorial/tcltutorial.html
>
>
>
>
>
>
> --
> Dr. Axel Kohlmeyer akohlmey_at_gmail.com http://goo.gl/1wk0
> College of Science & Technology, Temple University, Philadelphia PA, USA
> International Centre for Theoretical Physics, Trieste. Italy.
>