Jay,
It will do no good to edit the wa_trim_us_10 macro because it is
called and parameters passed to it by the door or window you are using.
So, you are stuck checking the parameter settings of the door or window
to see if some setting is causing the error. Anything having to do with
pens would be a start but I have gotten this error with an object
that sets a pen to be the wall contour pen which is a pen between one
and two fifty five because it has to be.
Peter Devlin