[Chimera-users] Auto-associate define attribute/render by attribute
Eric Pettersen
pett at cgl.ucsf.edu
Tue Dec 3 17:00:39 PST 2019
> On Dec 3, 2019, at 1:15 AM, Healey, Joseph <J.Healey.1 at warwick.ac.uk> wrote:
>
> On a related note, is there a need to programmatically ‘refresh’ rangecol/RBA after defining the attribute, as there is with the dialogue box, or should it be happy once the attr is set?
rangecolor will work without any nudging. The Render By Attribute dialog will remain blissfully unaware of the new attributes until you use its refresh menu item. You can use that dialog’s refreshAttrs() method to programatically nudge it. Look at MultAlignViewer/MAViewer.py in your Chimera distribution for an example (search for refreshAttrs).
—Eric
Eric Pettersen
UCSF Computer Graphics Lab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20191203/590d1fb2/attachment.html>
More information about the Chimera-users
mailing list