command line for showing and hiding (same as clicking shown checkbox in model panel?) and volume viewer options in a cmd file?

Hi, I'm trying to make a movie using a cmd file. I want to show and hide (same as clicking the checkbox for shown in the model panel) models from the cmd file since the system becomes too slow to do it manually while the movie is recording and timing frames is even more difficult. I also want to decrease and increase the isosurface threshold level in the volume viewer from the cmd file. Is it possible to do these without using the mouse while a movie is recording? Thanks, Sabuj Pattanayek

Hi Sabuj, The commands to display and undisplay models are display #2 and ~display #2 Here the model with id number 2 is displayed or undisplayed (tilde in front of command). The model id numbers are assigned in the order the models are opened starting from 0. You can see the model numbers in the Model Panel dialog. There is currently no command to set isosurface level. I'll see if I can add one in Python and send it to you. Tom

Hi Sabuj, The show/hide can be done with the command modeldisp (~modeldisp to hide): http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/modeldisplay.html There isn't a command for the Volume Viewer thing, but it could probably be accomplished with a python script. The python script could be opened and thus executed from the command file. However, I'm not a python scripter, so I must leave this part of the question to the developers on the team. Best, Elaine On Jan 25, 2006, at 10:26 AM, sabuj pattanayek wrote:
I'm trying to make a movie using a cmd file. I want to show and hide (same as clicking the checkbox for shown in the model panel) models from the cmd file since the system becomes too slow to do it manually while the movie is recording and timing frames is even more difficult.
I also want to decrease and increase the isosurface threshold level in the volume viewer from the cmd file.
Is it possible to do these without using the mouse while a movie is recording?
Thanks, Sabuj Pattanayek
----- Elaine C. Meng, Ph.D. meng@cgl.ucsf.edu UCSF Computer Graphics Lab and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco http://www.cgl.ucsf.edu/home/meng/index.html

Hi Sabuj, I made a command to vary volume contour level. Get the Animation Commands package transition.zip from the Chimera Prerelease Features page: http://www.cgl.ucsf.edu/chimera/prerelease/prerelease.html Documentation and installation for use with Chimera 1.2186 is described under the Installation and Details links on that page. Here's an example of the command: transition contour_level #0 3.0 1.5 100 It changes the contour level of model #0 from 3.0 to 1.5 over 100 frames. Tom

Thanks! This will be cool! Thomas Goddard wrote:
Hi Sabuj,
I made a command to vary volume contour level. Get the Animation Commands package transition.zip from the Chimera Prerelease Features page:
http://www.cgl.ucsf.edu/chimera/prerelease/prerelease.html
Documentation and installation for use with Chimera 1.2186 is described under the Installation and Details links on that page.
Here's an example of the command:
transition contour_level #0 3.0 1.5 100
It changes the contour level of model #0 from 3.0 to 1.5 over 100 frames.
Tom
participants (4)
-
Elaine Meng
-
sabuj pattanayek
-
Sabuj Pattanayek
-
Thomas Goddard