From: Axel Kohlmeyer (
Date: Fri Oct 20 2006 - 10:40:46 CDT

On Fri, 20 Oct 2006, Jawahar Neelankatan wrote:

JN> Hi all,

JN> When I click on PDB files in my computer, they open in VMD. They are
JN> displayed using the default 'line' graphic representation. I'd like
JN> them to display in the CPK (ball and stick) graphic representation
JN> by default. Is there any way to set this as the default so that when
JN> VMD opens, the PDB file is automatically displayed in CPK
JN> representation and not 'line' representation ?

yes. check out the 'mol default' command. it has been
discussed on the mailing list a number of times. see e.g.:


JN> Thanks,
JN> Jawahar
JN> ---------------------------------
JN> Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.

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.