mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-23 06:18:13 -06:00
RimPolygonFile and the RimPolygonCloudAddress, Folder and Source classes are not scriptable and have no generated class. rips returns them as RimPolygonContainer, which gets no typed override (abstract, not instantiated), so they inherit PdmNestedCollectionBase.add_folder(), declared as returning PdmNestedCollectionBase, not PolygonCollection. The generator already emits nothing typed for them: subCollectionClassKeyword() is empty for a container that cannot add folders, and classKeywordReturnedTypeForSelf() then falls back to the declared type. Checked in generated_classes.py from the rips wheel built on cf72e83. The call still raises "Cannot add subfolder" on these containers, so the AddFolder description, used as the add_folder() docstring, now says so.