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:
> 
> http://www.pymolwiki.org/index.php/Visualizing_a_computed_structure_-_a_commented_example
> 
> and the attached script. What am I doing wrong?
> 
> Thanks already, nick

Your commands are:

        load example.xyz
        hide all
        show sticks
        select sel_01, ID 38 ID 39 ID 42 ID 43 ID 44 ID 45
        select rest, all and not sel_01
        disable rest

        set stick_transparency, 0.8, rest
        set stick_transparency, 0.0, sel_01

I think you'll find that the transparency settings only work with whole
objects and not with selections that are subsets of objects.

Cheers,
Rob
-- 
Robert L. Campbell, Ph.D.
Senior Research Associate/Adjunct Assistant Professor 
Botterell Hall Rm 644
Department of Biochemistry, Queen's University, 
Kingston, ON K7L 3N6  Canada
Tel: 613-533-6821            Fax: 613-533-2497
<robert.campb...@queensu.ca>    http://pldserver1.biochem.queensu.ca/~rlc

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to