|
From: T. P. <ser...@gm...> - 2008-03-04 12:02:12
|
> 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?
Another subject... why this command outputs me an error?
cmd.transform_selection("all",
[[0.99,-0.116,-0.081,0.391],[0.119,0.993,0.027,0.321],[0.077,-0.037,0.996,0.233],[0.0,0.0,0.0,0.0]],
homogenous=1)
The result is
PyMOL>cmd.transform_selection("all",
[[0.99,-0.116,-0.081,0.391],[0.119,0.993,0.027,0.321],[0.077,-0.037,0.996,0.233],[0.0,0.0,0.0,0.0]],
homogenous=1)
CmdTransformSelection-DEBUG: bad matrix
--
"Two of the most famous products of Berkeley are LSD and Unix. I don't
think that this is a coincidence."
http://servomac.blogspot.com
|