This is my version of the ClashDetective example provided as part of the Autodesk Navisworks Software Development Kit, available here.
Only the Group Clash function have been edited to add two grouping modes.
Run clash tests
Run necessary clash detection using the Clash Detective feature in Navisworks.
Group clash results
In the Tools add-ins tab, select Clash Grouper.
Select on which test you want to group clash results.
Select one of the grouping mode.
You will find below an short description of some grouping mode, the other are pretty self-explaining.
By cluster analysis
Search for the optimum grouping solution given the expected number of groups.
By grid intersection
Group around grid intersection. You need to enable Grid in Navisworks to use it
By Selection A
Group all clash belonging to a single element of the Selection A set (here in blue):
By Selection B
Group all clash belonging to a single element of the Selection B set (here in green):
If you want more information about the ClashDetective, you can check this post.