From: John Stone (johns_at_ks.uiuc.edu)
Date: Thu Feb 12 2009 - 08:36:11 CST

Hi,
  It's easy to do this with a tiny bit of scripting. You could
do something like this (untested, but you get the idea):
  set filelist [glob *.pdb]
  foreach file $filelist {
    mol new $file waitfor all
  }

Cheers,
  John

On Thu, Feb 12, 2009 at 03:43:35PM +1100, bo baker wrote:
> Hi, VMD:
>
> Is it possible to load multiple pdb files at once? I have a set of
> models built from same template, and would like to compare them. From
> "molecule File Browser", one can load the pdb file one by one. Just
> wonder if I can select all the files and load them once.
>
> Thank you for your suggestion
>
> Bo

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078