Where can the viewport clipping parameters be changed?
It's in the 3D View area's Properties N menu &gt; View tab:

It doesn't affect Orthographic view, where there's no view distance.
How to set the the view port clip parameters per Python script is described in an answer to the question &quot;Setting camera clip end via Python&quot;.
Older Blender 2.7: