Trim Surfaces

I’m having a problem trimming curves or even solids with some surfaces I import from Alias.

I always get the inner trim of a circle, instead of the main surface with a hole.

Can Anyone explain the exact method to trim a curve or solid into a surface?

When I’m home I’ll be able to post a screenshot of the code, as at work I can’t do it.


Two methods:

Actually there is one more, which we used for our sample files:
It takes a surface, and a solid (which can be several, not intersecting bodies) which is then removed (=trimming) form that surface. This is especially useful, if the entities you want to trim out of your surfaces vary in amount and shape, due to changing script parameters.
Hope that helps,