Hi Jerome,

fetch 1nmr, discrete=1, async=0
as ribbon
set all_states
for x in range(cmd.count_states()): cmd.color(str(x), "state %s" % x)

You can substitute the spectrum command for the color command.

Cheers,

--- Jason

On Sat, Nov 9, 2013 at 8:54 PM, Jerome BENOIT <[email protected]> wrote:
> Hello List,
>
> is there a way in PML script to apply a specific spectrum to each MODEL (as 
> define in PDB data file) ?
>
> Thanks in advance,
> Jerome
>
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models. Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> PyMOL-users mailing list ([email protected])
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/[email protected]



-- 
Jason Vertrees, PhD
Director of Core Modeling Products
Schrödinger, Inc.

(e) [email protected]
(o) +1 (603) 374-7120

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
PyMOL-users mailing list ([email protected])
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/[email protected]

Reply via email to