From: Warren D. <wa...@de...> - 2006-01-09 21:37:56
|
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. =20 Principal Scientist . DeLano Scientific LLC =20 . 400 Oyster Point Blvd., Suite 213 =20 . South San Francisco, CA 94080 USA =20 . Biz:(650)-872-0942 Tech:(650)-872-0834 =20 . Fax:(650)-872-0273 Cell:(650)-346-1154 . mailto:wa...@de... =20 =20 > -----Original Message----- > From: pym...@li...=20 > [mailto:pym...@li...] On Behalf Of=20 > Alex Luso > Sent: Monday, January 09, 2006 12:55 PM > To: pym...@li... > Subject: [PyMOL] Possible to List Object Properties? >=20 >=20 > Is there a way to access a list of the current properties=20 > of a given object (or atom or selection) - for instance, what=20 > is the current color, cartoon type, mode, etc of a given=20 > atom? Or more generally, something like a command that spits=20 > out the current "state" (though that might be the wrong word=20 > in the pymol context): >=20 > something like: > "current color , /A///301/P" or "color , /A///301/P" > output: green >=20 > Thanks, > Alex >=20 >=20 > =09 > __________________________________________ > Yahoo! DSL - Something to write home about.=20 > Just $16.99/mo. or less.=20 > dsl.yahoo.com=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep=20 > through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. =20 > DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > PyMOL-users mailing list > PyM...@li... > https://lists.sourceforge.net/lists/listinfo/pymol-users >=20 >=20 >=20 >=20 |