mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-13 09:37:29 -06:00
Project.surfaces(surface_type) returns every surface in the project, SurfaceCollection.surfaces(surface_type, recursive) the surfaces of one folder, and Project.surface_by_name(name, surface_type, folder) looks a surface up by its user description. Subclasses of the requested type are included; ensemble surfaces are skipped unless include_ensembles is set. Project.surface_folder(name) now returns None when the folder does not exist, as PythonExamples/surfaces_and_visualization/surface_import.py already expects, instead of failing with a gRPC error.