
3 Dec
2019
3 Dec
'19
5 p.m.
On Dec 3, 2019, at 1:15 AM, Healey, Joseph <J.Healey.1@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