Instead of emitting separate M98 calls per identical sheet, use the L (loop count) parameter so the operator can adjust quantity at the control. M50 pallet exchange moves inside the sheet subprogram so each L iteration gets its own exchange cycle. GOTO targets now correspond to layout groups. Also fixes sheet name comment outputting dimensions in wrong order. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>