I have a list of Breps, I am trying to delete the colliding Breps in my list. I have tried to input my list and choose every 2 items and test their collision, if the test result is TRUE, one or both items should be deleted (not sur yet if I delete both or keep one).
Unfortunately I get the python error : ‘Guid’ object is not iterable
kindly find attached my files , where the python script with error is labeled in a group called ‘‘problem’’.
my python script :
mport rhinoscriptsyntax as rs
for i, b in x:
if rs.IntersectBreps(i, b) == True :
rs.RemoveObjectFromGroup (b, x)
newb.append(i)we ba3den_autosave.gh (32.6 KB)
#return i, b
Thanks all in advancewe ba3den.3dm (2.2 MB)