Has_X_Repeating_Elements
io### Overview
Use this condition to check whether a multiframe would place exactly X repeating elements. A common use case is enlarging a single product image to fill the frame when only one item is present, by combining this condition with Enlarge_First_Repeating_Element.
How It Works
The condition temporarily resizes the multiframe to cover the full page, then triggers a build to count how many elements would be placed. It restores the frame to its original size and position, then rebuilds.
Returns true only if the count equals the value in gParam1 exactly. The temporary full-page resize ensures all possible elements are counted, not just those that fit in the original frame.
The frame must be a multiframe.
Reference
| # | Name | Type | Default | Description |
|---|---|---|---|---|
| 1 | Number of Elements | int | 1 | The exact element count the condition must match |
| 2 | (unused) | |||
| 3 | (unused) | |||
| 4 | (unused) |