Alex

iterate /A///301/P, print color

Note that colors are numbers internally, so that's what you'll get...


Cheers,
Warren


--
Warren L. DeLano, Ph.D.                     
Principal Scientist

. DeLano Scientific LLC  
. 400 Oyster Point Blvd., Suite 213           
. South San Francisco, CA 94080 USA   
. Biz:(650)-872-0942  Tech:(650)-872-0834     
. Fax:(650)-872-0273  Cell:(650)-346-1154
. mailto:war...@delsci.com      
 

> -----Original Message-----
> From: pymol-users-ad...@lists.sourceforge.net 
> [mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of 
> Alex Luso
> Sent: Monday, January 09, 2006 12:55 PM
> To: pymol-users@lists.sourceforge.net
> Subject: [PyMOL] Possible to List Object Properties?
> 
> 
>   Is there a way to access a list of the current properties 
> of a given object (or atom or selection) - for instance, what 
> is the current color, cartoon type, mode, etc of a given 
> atom? Or more generally, something like a command that spits 
> out the current "state" (though that might be the wrong word 
> in the pymol context):
> 
> something like:
> "current color , /A///301/P" or "color , /A///301/P"
> output: green
> 
>   Thanks,
>   Alex
> 
> 
>               
> __________________________________________
> Yahoo! DSL - Something to write home about. 
> Just $16.99/mo. or less. 
> dsl.yahoo.com 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep 
> through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  
> DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users
> 
> 
> 
> 

Reply via email to