[PyMOL] change transparency for only a selection

2011-05-18 Thread Nicolas Bock
Hello list, I would like to change the stick_transparency for a selection but it doesn't seem to work. I am using the xyz file from the wiki: http://www.pymolwiki.org/index.php/Visualizing_a_computed_structure_-_a_commented_example and the attached script. What am I doing wrong? Thanks

Re: [PyMOL] change transparency for only a selection

2011-05-18 Thread Jason Vertrees
Hi Nick, Sticks are bonds. For that we use set_bond not set. Try: set_bond stick_transparency, 0.8, rest set_bond stick_transparency, 0.0, sel_01 Cheers, -- Jason On Wed, May 18, 2011 at 1:39 PM, Nicolas Bock nicolasb...@gmail.com wrote: Hello list, I would like to change the

Re: [PyMOL] change transparency for only a selection

2011-05-18 Thread Robert Campbell
Hi Nick, On Wed, 2011-05-18 11:39 EDT, Nicolas Bock nicolasb...@gmail.com wrote: Hello list, I would like to change the stick_transparency for a selection but it doesn't seem to work. I am using the xyz file from the wiki:

Re: [PyMOL] change transparency for only a selection

2011-05-18 Thread Nicolas Bock
Hi Jason, thanks, that works! nick On 05/18/11 12:08, Jason Vertrees wrote: Hi Nick, Sticks are bonds. For that we use set_bond not set. Try: set_bond stick_transparency, 0.8, rest set_bond stick_transparency, 0.0, sel_01 Cheers, -- Jason On Wed, May 18, 2011 at 1:39 PM,