def _GetPMLCmdsForSurfaceView(Name, Selection, DisplayAs = "cartoon"):
    """Setup PML command for surface view."""

    PMLCmds = []
    PMLCmds.append("""cmd.create("%s", "(%s)")""" % (Name, Selection))
    PMLCmds.append("""cmd.hide("everything", "%s")""" % (Name))
    if DisplayAs is not None:
        PMLCmds.append("""cmd.show("%s", "%s")""" % (DisplayAs, Name))
    PMLCmds.append("""cmd.show("surface", "%s")""" % (Name))

    return PMLCmds