Hi Toni,
On Tue, 04 Mar 2008 13:01:58 +0100, Toni Pizà <[email protected]>
wrote:
> > create a, resi
> >
> > cmd.transform_selection("a", [[x,x,x,x],[x,x,x,x],[x,x,x,x],[x,x,x,x]],
> > homogenous=1)
>
>
> Thanks (is better late than never)!
>
> But I want to apply a set of selective transformations with a time
> between them (using the time.sleep() function of python), making the
> efect to the user that the molecule is animated. Therefore I can't use
> the create function, because it centers and zoom the new object
> created, and I doesn't want this.
>
> Anybody know how to apply a transform to a selection, without crating
> a new object? Or create a new object without zooming them?
If you set the variable auto_zoom to 0, then PyMOL will not zoom to a new
object. I set this in my .pymolrc file, because I prefer to always zoom when
I want.
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
<[email protected]> http://pldserver1.biochem.queensu.ca/~rlc