Logo Search packages:      
Sourcecode: pymol version File versions

def pymol::rpc::rpcRotate (   vect,
  objName = '',
  state = -1 
)

rotates objects

  Arguments:
   - vect: a sequence with x y and z rotations
   - objName: (OPTIONAL) object to be rotated
   - state: (OPTIONAL) if zero only visible states are rotated,
     if -1 (the default), all states are rotated

Definition at line 303 of file rpc.py.

00303                                        :
  """ rotates objects

    Arguments:
     - vect: a sequence with x y and z rotations
     - objName: (OPTIONAL) object to be rotated
     - state: (OPTIONAL) if zero only visible states are rotated,
       if -1 (the default), all states are rotated
  
  """
  cmd.rotate('x',vect[0],objName,state=state)
  cmd.rotate('y',vect[1],objName,state=state)
  cmd.rotate('z',vect[2],objName,state=state)

def rpcTranslate(vect,objName='all',state=-1):


Generated by  Doxygen 1.6.0   Back to index