Geometry.Intersect Error / Linked Model Elements vs. Revit Elements

Hi ALL,

I was trying to collect all the walls withing the linked IFC file and find the intersections with the pipes. After that place a Revit Family instance by intersection point. Everything works pretty much fine, but I can’t retrieve all the intersection points. This error message of Geometry.Intersect pops up, but some data is still going through the script.

What am I doing wrong? Where is the problem?
There are plenty of discussions in the forum, but I couldn’t find the right solution of my problem.

Anything helps. Thanks. Openings.dyn (70.7 KB)