The 2.5D view is only available if your KLayout build was compiled with OpenGL support .
Use the z function to define layer heights. klayout 25d view
Currently, the tool has a practical limit of approximately 100,000 polygons . Setting Up Your First 2.5D Scene klayout 25d view