A little card. A lot of reassurance. Help from The Card Project UK.
The Card Project UK
PersoFiles · Script reference

Geometry commands

Geometry actions for the loaded PersoFile. All commands participate in the same atomic, undoable script run.

move

Move selected objects by millimetres in their own surface coordinates; accounts for parent transforms.

move dxMm dyMm

Examples

select field:holderName; move 2 -1

position

Set each selected object’s surface bounding-box top-left in millimetres.

position xMm yMm

Examples

position 10 12

size

Resize selected objects to surface bounding dimensions in mm. QR dimensions must match; text uses its current measured bounds. For rotated textboxes/codes, local axes follow the object.

size widthMm heightMm

Examples

size 40 12

scale

Multiply dimensions by positive factors. QR codes stay square.

scale horizontalFactor verticalFactor

Examples

scale 1.1 1.1

rotate

Rotate clockwise around each selected bounding-box centre. Spans require selecting their parent text.

rotate degrees

Examples

rotate 90

align

Align at least two selected objects within one surface. Reference is the outer selection bounds.

align left|right|top|bottom|hcenter|vmiddle

Examples

select id:a id:b; align left

spacing

Equalise gaps (at least three items), or increase/decrease gaps (at least two). Default step is 1 mm; decrease stops at touching. Select within one surface.

spacing equal|increase|decrease horizontal|vertical [stepMm]

Examples

select id:a id:b id:c; spacing equal vertical

Scripting engine 1.0.0 · This reference is generated from the implemented command catalogue.