the highlighted section is returning a true or false value (1 or 0).
therefore the frame width is only added to the door height if the frame type is wire
therefore the "frameWidth" is only added to the "_doorHeight" if the "iFrameType" is "FRAME_WIRE"
Creator of Cadswift's parametric GDL libraries
Creator of Infinite Openings and Component Catalogues
Push the envelope & watch it bend
So in this case, since changing the requisite to false solves the two false cases and doubles the true case, the equation should be a subtraction of frameWidth instead of addition. Simple fix, now just to wait for a licence to become available to use...