From: andrea spitaleri (spitaleri.andrea_at_hsr.it)
Date: Mon May 07 2007 - 04:58:40 CDT

Hi all,
is there any way to colour the frames by different colour. For instances, 10 frames and colour each
frame by its ID.
I tried this but it does not work:

proc color_frame {ID} {
    set n [molinfo $ID get numframes]
    for { set i 0 } { $i < $n } { incr i } {
        mol modcolor 0 0 ColorID $i
        mol colupdate 0 0 1
        animate next
        display update
    }
}

-- 
-------------------------------
Andrea Spitaleri PhD
Dulbecco Telethon Institute
c/o DIBIT Scientific Institute
Biomolecular NMR, 1B4
Via Olgettina 58
20132 Milano (Italy)
http://biomolecularnmr.ihsr.dom/
-------------------------------
********************************************************************
Sostieni la ricerca del San Raffaele con il 5permille!
E' SEMPLICE E NON COSTA NULLA.
Basta indicare nell'apposito riquadro della dichiarazione dei
redditi ("Ricerca sanitaria") 
il codice fiscale della 
Fondazione Centro S. Raffaele del Monte Tabor:
03 06 42 80 153 e ricordarsi di firmare.
Se vuoi saperne di piu' scrivi a 5permille_at_hsr.it o vai sul sito
www.5xmille.org