|
From: Warren D. <wa...@de...> - 2005-07-28 20:04:22
|
Xavier,
A potentially confusing aspect of settings is that they only go down to
the object (and in some cases object-state) level. Individual atoms
don't have their own settings. =20
So what you've doing is changing the stick_transparency for all objects
that include atoms in the "met" selection.
The workaround is to using the "create" command to create separate
objects.
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
> Xavier Deupi
> Sent: Wednesday, July 27, 2005 2:26 PM
> To: pym...@li...
> Subject: [PyMOL] transparent sticks
>=20
> Hi,
>=20
> I want to set some transparency in a selection, which is=20
> displayed as sticks. I'm using the following command:
>=20
> cmd.set("stick_transparency",0.5,"ret") # where ret is the selection
>=20
> But when I run the script, ALL the sticks are modified, and=20
> not only the selection "ret", as I was expecting.
>=20
> I've been trying a few variations in the syntax, but I can't=20
> figure out the correct way... any help?
>=20
> Thanks in advance,
>=20
> Xavier
>=20
> --
> Xavier Deupi, Ph.D.
> Department of Molecular and Cellular Physiology Beckman=20
> Center for Molecular and Genetic Medicine (B161)
> 279 Campus Drive, Stanford University School of Medicine=20
> Stanford, CA 94305 (USA)
>=20
> E-mail: Xav...@st...
> Phone: +1 (650) 725-6497
> Fax : +1 (650) 725-8021
>=20
>=20
>=20
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference &=20
> EXPO September 19-22, 2005 * San Francisco, CA * Development=20
> Lifecycle Practices Agile & Plan-Driven Development *=20
> Managing Projects & Teams * Testing & QA Security * Process=20
> Improvement & Measurement * http://www.sqe.com/bsce5sf=20
> _______________________________________________
> PyMOL-users mailing list
> PyM...@li...
> https://lists.sourceforge.net/lists/listinfo/pymol-users
>=20
>=20
>=20
|