[Chimera-users] Hiding models one by one?

Elaine Meng meng at cgl.ucsf.edu
Mon Oct 1 10:31:03 PDT 2018

Hi Ahmad,
This kind of looping can be done with the “perframe” command, at least for individual models. For example, maybe something like:

perframe "~modeldisp #$1" range 16,60 interval 20

You may need to experiment, just try a few different things (your interval was 5, was but that’s pretty fast).  See “perframe” description, including other options and examples.  

I hope this helps,
Elaine C. Meng, Ph.D.
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco

> On Sep 30, 2018, at 9:17 PM, Ahmad Khalifa <underoath006 at gmail.com> wrote:
> I'm trying to hide a range of models using ~modeldisplay #16-60.
> For display purposes, I want to to make them disappear one by one or in groups. I can of course write down a bunch of ~modeldisplay #16; wait 5; ~modeldisplay #17; wait 5;...etc.
> Is there a way to for loop that process in the command line or do it in a better way? 
> Regards. 

More information about the Chimera-users mailing list