Ferdo,
I actually cheecked this script when I was looking through your CATIA Portable Script Center earlier today (which is a good reference, by the way, so thank you for creating that!) However, I'm trying to keep some elements (e.g. lines, points, etc.) in some geometric sets/part bodies...