From: Troels E. L. <tl...@gm...> - 2012-06-18 09:13:18
|
How about using python blocks: python resis = [["1DSB","*","30","red"],["1ERT","*","32","green"]] for p,c,r,col in resis: cmd.fetch(p,async="0") cmd.refresh() cmd.show("cartoon",p) cmd.color("col",p)python end 2012/6/18 Yotam Avital <yo...@gm...> > I may have asked this question before but I can't find the solution > anywhere. > > I have several (30) files of the same type I want to examine. On each file > I need to run about ten commands. Is there a way to do this automatically? > > The commands I want to run are: > show spheres > color (red/blue/green) > hide > zoom > -- > My other email account has a "professional" signature. > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > PyMOL-users mailing list (PyM...@li...) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/pym...@li... > |