Can I use forloop to remove all children of wrapbox?

No problem. Would you mind marking my first answer as the solution so other people with the same problem can find it?

Thanks.