Look into this Post.
https://forum.dynamobim.com/t/clash-detection-script-to-identify-the-clash-and-visualize-it-using-overrides-in-view-node/18753