This script creates up to three LOD-objects from the geometry of the scene and shows the right one regarding given camera distance.
It does it via the ProOptimizer modifier and preserves the original objects by hiding them.
This is the first version of the script. It works fine but needs revision of the LOD-object showing part.
It could as well be improved by allowing to customize more options of the ProOptimizer modifier and animated camera.
Any suggestions are accepted.