In 3D window when rendering, invalid geometries (Degenerated polygons, Wrong hole definitions etc) are written to the Report window with object Guids that one can find and fix.
I want to automate this and get access to list of invalid objects' guids. But don't know, how to.
One path that might work is accessing Report Window and getting bad objects' guids through purely text methods (regex search). Another one would be directly access all elements and check whether they are healthy.
But so far I haven't found any function that might be useful for any of these methods.
Does anybody have an idea how to do this?
Thanks in advance.
GDL/Python/C++ dev