I have a list of solids (Rooms converted to solid elements) and I have a list of another solids (ceilings converted to solids). Now I want to perform clash detection in Dynamo and get the output of intersecting elements. Now I am getting an error in my python code. The error says “expected Solid, got Solid” and this error doesn’t make sense to me.
ceilings=IN # Solids rooms=IN # Solids ceilings_new= rooms_new= for i in rooms: for j in ceilings: intersection1=BooleanOperationsUtils.ExecuteBooleanOperation(i,j,BooleanOperationsType.Intersect) ceilings_new.append(j) rooms_new.append(i) OUT= rooms_new, ceilings_new