Skip to main content

[dynTemp] Arrange frame to realgrid edge

Overview​

This rule moves the current frame to a selected edge of the RealGridElement.

How it works​

The rule reads the planning record to get the RealGridElement coordinates and calculates the current frame's bounding box.

It then moves the frame so the selected edge aligns with the corresponding grid edge, adjusted by the margin. Each direction affects only one axis:

  • Left: moves the frame so its left edge sits at gridLeft + margin. The vertical position does not change.
  • Top: moves the frame so its top edge sits at gridTop + margin. The horizontal position does not change.
  • Right: moves the frame so its right edge sits at gridRight - margin. The vertical position does not change.
  • Bottom: moves the frame so its bottom edge sits at gridBottom - margin. The horizontal position does not change.

The frame's size does not change. Only its position is adjusted. Negative margin values are treated as positive.

Parameters​

#NameData typeDefaultDescriptionList values (ISON)
Move toDropdownThe grid edge the frame is moved to. Only the position along the selected axis changes.:I:links:I:oben:I:rechts:I:unten (translated by the comet plugin)
Margin to realgrid edge in mmString0.0Offset from the grid edge. Leave empty to use the default of 0.0 mm.