[Chimera-users] globally changing ball and stick scale
Elaine Meng
meng at cgl.ucsf.edu
Mon Jul 28 13:13:58 PDT 2008
Hi Wally,
You can use the setattr command, for example:
setattr m stickScale 1.5
setattr m ballScale 0.5
http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/setattr.html
http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/atom_spec.html#attrnames
Or, if you'd rather do something interactive/graphical:
(a) select all molecule models (or at least one atom or bond from each)
(b) open Selection Inspector by clicking button near lower right
corner of the Chimera window or by choosing Actions... Inspect from
the menu
(c) Inspect "Molecule model" and change the ball scale and/or stick
scale as desired
These parameters are also in the individual molecule model attributes
panels that can be opened from Model Panel, but it is too tedious to
set the values individually for multiple models.
Another possibility is to change the "New Molecules" Preferences to
set those values as desired for subsequently opened molecule models
(Favorites... Preferences, change to New Molecules category).
Best,
Elaine
-----
Elaine C. Meng, Ph.D. meng at 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
On Jul 28, 2008, at 12:05 PM, Walter Novak wrote:
> Hi All,
> This is probably a simple question, but the answer is eluding me. Say
> I have 20 models open. How can I globally change the stick scale and
> ball scale for all models.
> Thanks,
> Wally
>
More information about the Chimera-users
mailing list