Skip to main content

[dynTemp] Nested area build

Overview​

This rule positions the repeating elements of a multiframe in a nested, overlapping arrangement within the multiframe area.

How it works​

Because a multiframe only loads items that fit within its current area, the rule must temporarily expand it before collecting the elements. The rule:

  1. Records the current bounding box of the multiframe.
  2. Expands the multiframe to page size to ensure all elements are loaded.
  3. Builds the placeholder to resolve repeating elements.
  4. Collects the built elements.
  5. Restores the multiframe to its original size and position.

The multiframe's original area defines the space for the nested positioning. The rule calculates an X and Y offset per element: the available width and height each divided by (number of elements minus 1).

Starting from the anchor corner, each element is placed at: anchor position + (offset × element index). This creates an overlapping stack where each successive element is shifted by the same amount in both axes.

After positioning each element, the rule adjusts its z-order using the moveToZLayer helper so that elements at larger offsets appear in front of earlier elements.

Parameters​

#NameData typeDefaultDescriptionList values (ISON)
Anchor pointDropdownThe corner from which the nested stack begins. The first element is placed at this corner; subsequent elements are offset from it.:I:oben links:I:oben rechts:I:unten rechts:I:unten links (translated by the comet plugin)