OEReadSurface

OEReadSurface(fname: str, surf: OESurface) -> bool
OEReadSurface(ifs: oeistream, surf: OESurface, type: int) -> bool

Read the contents of the file named fname into the surface surf. Returns false if fname is not a valid surface file name.

An overload is provided to take any arbitrary oeistream.