Dynamo for Clash detection in Civil 3D

I am looking to create a fully functioning clash detection script for Civil 3D to check clashes between the gravity networks and any selected 3D solid or pressure network in the Civil 3D model.

I never done this but you can start from here (43:23).
Dynamo in Civil 3D Introduction—Unlocking the Mystery of Scripting