Logo Search packages:      
Sourcecode: pymol version File versions

def pymol::rpc::rpcLoadMolBlock (   data,
  objName,
  colorScheme = '' 
)

loads a molecule from a mol block

  Arguments:
    data: the mol block
    objName: name of the object to create
    colorScheme: (OPTIONAL) name of the color scheme to use
      for the molecule (should be either 'std' or one of the
      color schemes defined in pymol.utils)


Definition at line 239 of file rpc.py.

00239                                                 :
  """ loads a molecule from a mol block

    Arguments:
      data: the mol block
      objName: name of the object to create
      colorScheme: (OPTIONAL) name of the color scheme to use
        for the molecule (should be either 'std' or one of the
        color schemes defined in pymol.utils)


  """
  from pymol import util
  res = cmd.read_molstr(data,objName)
  colorObj(objName,colorScheme)
  return res

def rpcLoadFile(fileName,objName='',format='',colorScheme=''):


Generated by  Doxygen 1.6.0   Back to index