Joined Surface and Solid

 From:  ttype (STRUBE)
6176.3 In reply to 6176.2 
Works great. Thank you.

Now that I know they are called "naked edges", the snippet is also on Petr's site. It is called "SelectNakedEdges".