neng83,
thnx for the example but i want to do it with a ruby script.
i found a short example that suggests to draw a polygon, add it to a group,
draw the rectangular hole, add it to the same group, execute the erase_enties
command on the group with the hole and then explode the group.
that seems to work!
that also works if you want to make more than 1 hole in a polygon.