From: Axel Kohlmeyer (
Date: Mon Feb 20 2006 - 19:13:49 CST

On Sun, 19 Feb 2006, Younes Ansari wrote:

YA> dear Sir:
YA> I am trying to define the Hg atom in the .vmdrc using:
YA> set sel [atomselect top "name HG'']
YA> $sel set radius 1.9
YA> but no changes appears while I am trying to see the difference between Hg
YA> and H atom(VDW).
YA> Would you please tell me what exactly to do?

it does not work like this. whatever you put in .vmdrc will be only
executed one during the initial startup of VMD. you need to hook into
the process of loading a molecule, for example by tracing
vmd_initialize_structure. for an example, see:


YA> THANKS................

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.