Logo Search packages:      
Sourcecode: pymol version File versions

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

loads surface data from a file and adds an isosurface

  Arguments:
    fileName: the file to load
    objName: (OPTIONAL) name of the object to create
    format: (OPTIONAL) the format of the input file
    surfaceLevel: (OPTIONAL) the isosurface level

 

Definition at line 273 of file rpc.py.

00273                                                                :
  """ loads surface data from a file and adds an isosurface

    Arguments:
      fileName: the file to load
      objName: (OPTIONAL) name of the object to create
      format: (OPTIONAL) the format of the input file
      surfaceLevel: (OPTIONAL) the isosurface level

   """   
  if not objName:
    objName = fileName.split('.')[0]
  gridName = 'grid-%s'%objName
  res = cmd.load(fileName,gridName,format='')
  cmd.isosurface(objName,gridName,level=surfaceLevel)
  return res

def rpcSave(filename,objName='all',state=0,format=''):


Generated by  Doxygen 1.6.0   Back to index