[Chimera-users] model panel: add/edit note

Elaine Meng meng at cgl.ucsf.edu
Sat Jul 31 09:29:26 PDT 2010

Hi Matt,
Although there isn't a *specific* command, the general attribute-setting command setattr can be used to assign the "note" attribute of molecule and molecular surface models.  Other models also have this attribute, but currently the setattr command will only work for these two types of models (m and s in the following):

setattr m note "my molecule" #0
setattr s note "this is the molecular surface" #0

Another issue, somewhat of a bug, is that these commands do not trigger the Model Panel to update itself.  Instead you have to use the commands before the Model Panel is shown.  If you try to add or change a note via the setattr command after the Model Panel is shown, nothing will happen.
I hope this helps,
Elaine C. Meng, Ph.D.                       
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco

On Jul 29, 2010, at 3:59 PM, Dougherty, Matthew T wrote:

> Is there a command to be able to modify notes on the model panel?
> If not, it would a useful addition when creating a command file to load in & color datasets.

More information about the Chimera-users mailing list