[Chimera-users] Display Molecule Name

Eric Pettersen pett at cgl.ucsf.edu
Fri Jul 3 18:00:20 PDT 2009


Hi Chris,
	Yet another way to do this, assuming you know the approximate x,y  
positions of your molecules on the screen would be to title them with  
the 2dlabels command (http://www.cgl.ucsf.edu/chimera/current/docs/UsersGuide/midas/2dlabels.html 
).  Assuming that your Molecule variable is 'm' then m.name is the  
molecule name (as shown in the Model Panel) and str(m) gives the same  
text as the help balloon would if the mouse were hovered over the  
Molecule.

--Eric

On Jul 2, 2009, at 11:02 PM, cdlau at ucsd.edu wrote:

> Hi,
>
> Thanks for the response.  This would not work for my case because I am
> writing a plugin for ViewDock for use with a Tiled Wall Display.  I  
> was
> hoping there was a setting that was available to show the molecule  
> name
> (if a setting does exist I can initiate it with runCommand).  Does  
> anyone
> know if this is possible?
>
> Thanks,
>
> Chris
>
> On Thu, 2 Jul 2009, cdlau at ucsd.edu wrote:
>
> Hi,
>
> I was wondering if there was a way to display the molecule name that  
> is
> being shown in chimera.  A simple display such as "molecule #0.10"  
> below
> the rendered molecule would be great.
>
> Thanks for your help,
>
> Chris
>
> Just place the mouse over the item you want to know more about and a  
> popup
> balloon will tell you about it.  The text starts with the model  
> number,
> e.g., #0.10, and may or may not have additional information, i.e.,  
> for an
> atom it includes the residue name and sequence number and the atom  
> name.
>
>       - Greg
> _______________________________________________
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
> http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users

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


More information about the Chimera-users mailing list