Commit Graph
5 Commits
Author SHA1 Message Date
Kristian Bendiksen 7aebcdc92e #13861 Python: Clarify surface_folder and surface_by_name documentation
surface_folder(name) only searches direct sub folders of the top surface
folder and returns None otherwise; state this in the scripting
documentation of the method and its FolderName argument.

surface_by_name excludes ensemble surfaces only when no folder is given;
make that explicit and point to sub_collections() for nested folders.
2026-11-05 14:40:30 +01:00
Stefan Crooijmans bcae2ccbcb #13861 Python: Add surfaces() and surface_by_name() to the rips API
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.
2026-11-04 10:45:24 +01:00
Kristian Bendiksen b707c4588b #13841 Python: Add available_properties API for regular surfaces 2026-04-13 10:53:06 +02:00
Kristian Bendiksen 68b193cd56 #13841 Python: Add get_property API for regular surfaces 2026-04-09 07:59:34 +02:00
Kristian Bendiksen 1a55fa11c3 #12459 Add regular surface domain object. 2025-05-20 20:39:07 +02:00