Clash Detection is super slow with large link models

I’m working on clash detection between host model elements and elements from all linked models. But right now, the process is very slow and sometimes even crashes.

So instead of checking every single element in the linked models, I want to speed things up by doing this:

:white_check_mark: For each host element, create a bounding box around it,
:white_check_mark: Then only check for clashes with the linked elements inside that box.

This way, I only check nearby elements, not the whole model — making the process much faster and lighter. Is there any way I can achieve this.

Script file: Clash Test Simple.dyn - Google Drive

Hi @Nitish0o1 is it bimorph nodes you use, guess thats the fastest nodes for intersect…but imo it will never be so fast as naviswork, solibri etc when talk large models, or maybe interference check could work

1 Like

Hi @sovitek, I am also using interference check for the same but since the no. of link models are close to 50 and inteference check allows one link model at a time. I want to check all the links with current selection.

I just need boolean values whether it intersects or not in a faster way

is there way I can improve its performance

yeah i would go with naviswork or solibri or other, its build for that :wink:

1 Like

You cannot have enough RAM to run all 50 at once. Doubly so with your code written like this.

You’ll either need to:

  1. Run the graph 50 times and append the results of each run.
  2. Move into your own custom zero touch node (written in C#) that does all of the work for you given nothing more than a boolean input.
  3. Use another platform like the BIM Collaborate option in the Autodesk Construction Cloud (automates the checking once you set it up) or Navisworks.
2 Likes