Modify view range

Thank you very much Kenny,
As you can tell I cannot read python, do you know how can include in the script the CUT PLANE OFFSET and VIEW DEPTH ASSOCIATED LEVEL and OFFSET???
Many thanks in advanceCapture