From: Axel Kohlmeyer (
Date: Mon Nov 17 2008 - 12:48:52 CST

On Mon, 17 Nov 2008, Thomas Evangelidis wrote:

TE> Hi,

hi thomas,

when you are running scripts from within vmd
there is next to no benefit to call catdcd as
you can perform all operations of catdcd (and
then some) as conveniently from within vmd using
the "mol new" and "animate write" commands. please
note that mol new returns the molecule id and that
animate write allow writes of specific molecule
id and that you can hand in a selection to write
out a subset of a molecule.


p.s.: the proper way to execute external executables
in tcl is to use the exec proc. check your friendly
tcl manual. ;-)

TE> I'm having problems installing the plugin source code and thus I'm running
TE> catdcd binary instead. My question is how can I run the binary (i.e.
TE> ./catdcd ....) from within a proc or a namespace? It works perfectly when
TE> using "./catdcd" outside a proc in a tcl script. I've also read at the
TE> catdcd documentation that it is included in the latest version of vmd. Does
TE> this mean that if compiling from source code I could be able to run it by
TE> typing catdcd in the tkconsole?
TE> Tom

Axel Kohlmeyer
   Center for Molecular Modeling   --   University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
If you make something idiot-proof, the universe creates a better idiot.