From: Axel Kohlmeyer (
Date: Tue May 01 2012 - 16:54:49 CDT

On Tue, May 1, 2012 at 4:45 PM, Heather Mayes <> wrote:
> VMDers,
> Is it possible to modify the .vmdrc to made the default action "Load
> all at once"? (Apologies if this has already been answered--I tried
> searching the archives and internet, but did not see the syntax to do
> this).

not that i know.

> I also would like to have 3 superimposed representations added by
> default to each loaded molecule (VDW and 2 different dynamic bonds
> representations). My molecules are small enough that this will not be
> a drain on the graphics card.  I tried various options, including the
> my_def_viz hack described in the VMD tutorial, but these did not work

"didn't work" is not very helpful.

you'd have to provide more details and references. question is:
do you mean "VMD doesn't work correctly" or simply
"i couldn't figure out how to do it".

> for me. The only thing that has gotten me part of the way there is to
> set "mol default style {VDW 0.3 15}" in my vmdrc.  I've tried various
> "addrep" lines to this, but am not able to by default add another
> representation. Any ideas?

you can write a custom file loading procedure
and then call it manually from the prompt. or
write a little Tk GUI. i should have a template
for the latter somewhere that can be added
to .vmdrc. from there on it is only a matter of
filling in the rest.


> Thank you,
> Heather

Dr. Axel Kohlmeyer
College of Science and Technology
Temple University, Philadelphia PA, USA.