[Chimera-users] modeldisp

cdlau at ucsd.edu cdlau at ucsd.edu
Mon Jun 29 17:11:08 PDT 2009


I am currently using the modeldisp command on the command line to hide and
view various molecules within a single mol2 file.  I was wondering how I
would be able to access how many total molecules there were in a single
mol2 file.  For example, if the mol2 file is loaded into model 0, I would
be using

modeldisp #0.$i

etc in a large loop where $i is changing.  What command can I use to
return a value for the total number of molecules in the mol2 file so I can
have this be the upper limit of $i?

Thanks for your help,


More information about the Chimera-users mailing list