Detail Identifier

Continuing the discussion from How can I count the number of external vertical edges?: I was thinking this might be combined with some additional logic (types of walls, and possibly configuration, a the intersection, additional intersections of other elements, etc.) to create a workflow to identify where details might want to be located and, possibly, to suggest when multiple details might be the same (perhaps with a confidence value).

So far all I’ve done is find the points bounding all rooms and averaging out the points within some user-defined distance from each other (thinking that multiple points in close proximity define a potential center of detail). I can place a family base on these points easy enough and I can add additional logic for wall types but it’s the notion of configuration similarity that might help define which details are the same/similar that I’m not sure how to proceed with. Would this be a case for ML or AI?