Sort of -- search for the object name in:
 
print cmd.get_names(enabled_only=1)

________________________________

        From: Jacob Corn [mailto:jec...@u.washington.edu] 
        Sent: Wednesday, April 22, 2009 9:37 AM
        To: Jacob Corn
        Cc: pymol-users@lists.sourceforge.net
        Subject: Re: [PyMOL] select/deselecting objects via script?
        
        
        OK, I'm feeling a little silly now... I found enable/disable
(sorry for not rtfm'ing closely). But is there a way to get whether an
object is currently dis/enabled?
        
        
        
        
        

        Jacob




        On Apr 22, 2009, at 9:04 AM, Jacob Corn wrote:


                I'd like to write a jiffy that binds the up and down
arrow keys to move up/down the list in the object/selection pane. I'd
like (for example) pressing the down arrow to equate to clicking the
currently active object (thus hiding its representation) and clicking
the next object down (thus showing it). That way, none of the various
cartoon/stick/spheres are lost, but the current object disappears and
the next one appears. What is the pymol command for choosing/un-choosing
[sic] something in the right-hand panel?
                
                
                
                
                

                Jacob




        
------------------------------------------------------------------------
------
                Stay on top of everything new and different, both inside
and 
                around Java (TM) technology - register by April 22, and
save
                $200 on the JavaOne (SM) conference, June 2-5, 2009, San
Francisco.
                300 plus technical and hands-on sessions. Register
today. 
                Use priority code J9JMT32.
http://p.sf.net/sfu/p_______________________________________________
                PyMOL-users mailing list
                PyMOL-users@lists.sourceforge.net
                https://lists.sourceforge.net/lists/listinfo/pymol-users
                


Reply via email to