Under VW Help/9.5.0 Documentation Bulletin there is an explanation of the trim command. It seems, just as you have stated, the trim command works only for lines and walls (not rectangles, polygons, etc.). I believe you have to use the trim tool on rectangles and polygons.