Logo Search packages:      
Sourcecode: pymol version File versions

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

loads an object from a file

  Arguments:
    fileName: the file to load
    objName: (OPTIONAL) name of the object to create
    format: (OPTIONAL) the format of the input file
    colorScheme: (OPTIONAL) name of the color scheme to use
      for the object (should be either 'std' or one of the
      color schemes defined in pymol.utils)

Definition at line 256 of file rpc.py.

00256                                                              :
  """ loads an object from a file

    Arguments:
      fileName: the file to load
      objName: (OPTIONAL) name of the object to create
      format: (OPTIONAL) the format of the input file
      colorScheme: (OPTIONAL) name of the color scheme to use
        for the object (should be either 'std' or one of the
        color schemes defined in pymol.utils)
  """
  if not objName:
    objName = fileName.split('.')[0]
  res = cmd.load(fileName,objName,format=format)
  colorObj(objName,colorScheme)
  return res

def rpcLoadSurface(fileName,objName,format='',surfaceLevel=1.0):


Generated by  Doxygen 1.6.0   Back to index