From: Axel Kohlmeyer (
Date: Sun May 24 2009 - 11:40:33 CDT

On Sun, 2009-05-24 at 02:45 -0700, Rob wrote:


as a proof of concept, please find attached a minimalistic
version of a custom molecule file loader that i could hack
together in half an hour and that will insert itself into
the extensions molecule and be visible by default.

just add the attached code at the end of your .vmdrc.

it is pretty raw and mostly using pieces of code from
other plugins, but it is fully functional and i hope
it demonstrates the idea. feel free to improve it (e.g.
by adding a GUI to select file types) and send us the
result for inclusion into a future version of VMD.


> Hi,
> The list of possible file types is too long; when I want to load a new molecule
> I can choose the file type, but the list provided is inconveniently long.
> There are about 50 right now....
> Most of the options in the list I never ever use; in my case only two.
> Hence, it would be so much better if this list can be make user configurable,
> so that every user can cut the list to only those items which are used.
> (Note: it should be *user* configurable, so that system wide still all items
> are available).
> Rob.

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.