From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Fri May 15 2009 - 13:27:22 CDT

On Fri, 2009-05-15 at 12:37 -0500, Thomas C. Bishop wrote:

tom,

> John,
> Don't know if this is by design or not and if this effects other packages
> but namdenergy is not automatically loaded if start vmd with
> vmd -dispdev none

this is correct.

> is there a variable defined that allows me to
>
> source $tcl_plugins/namdenergy.tcl

all you have to do is:

package require namdenergy

this is how tcl plugins/packages are supposed to work.

namdenergy gets pulled in in "win" mode, since its
GUI is activated and that does the require for you.

in general, you should always "require" a package
that you use.

cheers,
   axel.

> $tcl_pkgPath doesn't get me where I need to be.
>
>
> thanks
> Tom
>

-- 
=======================================================================
Axel Kohlmeyer   akohlmey_at_cmm.chem.upenn.edu   http://www.cmm.upenn.edu
   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.