I have just come across a similar need but for element parts rather than complex profile parts.
I am trying to determine if a roof edge is 'Undefined' or even set as "Ridge', 'Hip', etc.
Currently it requires selecting each roof plane and checking each edge one by one (unless someone else has another solution).
This is for single roof planes and not multi-plane roofs.
In fact I have made a separate wish for this.
https://archicad-talk.graphisoft.com/viewtopic.php?f=28&t=66084
Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11