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.
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. 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 > Xavier Deupi > Sent: Wednesday, July 27, 2005 2:26 PM > To: pymol-users@lists.sourceforge.net > Subject: [PyMOL] transparent sticks > > Hi, > > I want to set some transparency in a selection, which is > displayed as sticks. I'm using the following command: > > cmd.set("stick_transparency",0.5,"ret") # where ret is the selection > > But when I run the script, ALL the sticks are modified, and > not only the selection "ret", as I was expecting. > > I've been trying a few variations in the syntax, but I can't > figure out the correct way... any help? > > Thanks in advance, > > Xavier > > -- > Xavier Deupi, Ph.D. > Department of Molecular and Cellular Physiology Beckman > Center for Molecular and Genetic Medicine (B161) > 279 Campus Drive, Stanford University School of Medicine > Stanford, CA 94305 (USA) > > E-mail: xavier.de...@stanford.edu > Phone: +1 (650) 725-6497 > Fax : +1 (650) 725-8021 > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & > EXPO September 19-22, 2005 * San Francisco, CA * Development > Lifecycle Practices Agile & Plan-Driven Development * > Managing Projects & Teams * Testing & QA Security * Process > Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > PyMOL-users mailing list > PyMOL-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pymol-users > > >