BIMorph Wall-Duct Intersections

Hello

Im trying to create a script that starts by checking the clashes between ducts and walls; im currently here:

and the plan is:

as you can see in the script there are 12 points, but in the plan as you can see there should be 8!

where did the 4 come from? is there a fault in the scripts logic?

Hello,
If it can help


cordially
christian.stan

2 Likes

The List.AllIndicesOf and List.GetItemAtindex are very slow, when number of input elements grows. FilterByBoolMask will be much faster.

2 Likes

Hi,
I will try to retain your feedback (thanks for the information :+1:)

cordially
christian.stan

AH! I see
so the “ElementIntersectionResult.IntersectingElements” and “ElementIntersectionResult.Element” give all the elements from the intersecting category, I need to filter only the items that are intersecting, this is why you used “List.AllIndicesOf” and “List.GetItemAtindex”

Clear! Thank you so much

1 Like

as for your comment, I believe this is what you meant:

thank you so much!