Hi guys,
I’d like to filter out and delete the polycurves that contain “walls”. Is there a way to do that?
Hi guys,
I’d like to filter out and delete the polycurves that contain “walls”. Is there a way to do that?
List.ContainsItem should help you filter out the sublists with “Wall”.
So it still seems to return a false result even though it’s all walls. Is there anything I’m doing wrong?
Chishay,
Perhaps this is a start? My continuation might include List.IndexOf and List.RemoveItemAtIndex. “And” node may also be what you’re looking for.
I have to leave my computer for today but if this is not solved when I get back I will post a solution.
I’m back. I see you marked my last post a solution. Were you able to solve your problem?
You’re comparing a string against an element. You would have to convert the wall elements to a string first.