Revit addon clash detection long loading time

Revit addon clash detection long loading time

9015323
Explorer Explorer
463 Views
3 Replies
Message 1 of 4

Revit addon clash detection long loading time

9015323
Explorer
Explorer

i am trying to make a revit addon in c# for live clash detection and a more in depth clash viewing, right now everything seems to work but the detecting clashes part has to load super long for some reason, ive seen and used other addons for clash detecting and the revits interference check and they all seem to find/load clashes within seconds, ive look at the revit api a bit but i cant seem to find anything usefull, could someone tell me what functions are being used for stuff like this that make it runs faster and finds clashes faster?

0 Likes
Accepted solutions (1)
464 Views
3 Replies
Replies (3)
Message 2 of 4

jeremy_tammik
Alumni
Alumni
Accepted solution

Do you mean loading or calculation time? Your title mentions loading, but your text seems to discuss calculation time. Without source code it will be impossible to say what might be impacting performance. I suggest that you add benchmarking code to your add-in to identify bottlenecks and make use of the debugger profiling and performance analysis tools to optimise your code:

  

   

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 4

9015323
Explorer
Explorer

sorry for the confusion, i meant calculating time. and im using a CheckSolidIntersection method.

0 Likes
Message 4 of 4

jeremy_tammik
Alumni
Alumni

CheckSolidIntersection is not a Revit API method. I cannot say anything about it. 

  

I repeat my advice provided above.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes