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

Eric Pettersen pett at cgl.ucsf.edu
Mon Aug 2 17:02:10 PDT 2010

On Jul 31, 2010, at 9:29 AM, Elaine Meng wrote:

> 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.

The various problems noted in the above are addressed in the next  
daily build:
1) Setting the "note" attribute immediately updates the model panel.
2) "setattr M" will set the attribute in all models (as opposed to  
"setattr m" or "setattr s" for molecule and surface models  


                         Eric Pettersen
                         UCSF Computer Graphics Lab

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20100802/889c4bbf/attachment.html>

More information about the Chimera-users mailing list