delete / remove face of a BRep in a script

 From:  Michael Gibson
10995.7 In reply to 10995.3 
Hi Peer,

> And that works fine for a standalone selected object, but it doesn't seem to do anything
> if just a face of a solid is selected.

You can't remove a sub-object from the geometry database, you can only remove a top level object from the geometry database.

You can get the top level object that a sub-object is contained inside of by using obj.getTopLevelParent();

- Michael