Skip to content

Auto Lengths

Etienne edited this page Jun 29, 2026 · 2 revisions

Auto Lengths

Writes the length of a graphically-linked geometry into a trigger pattern inside a text element, and optionally syncs the text color.

Commands

ForceUpdateLength

macro vba run [ARES]ForceUpdateLength

Manually pick an element; ARES updates the length string on its linked text using the variables below.

EditAutoLengthsOptions

macro vba run [ARES]EditAutoLengthsOptions

Opens the Auto Lengths options dialog (configures the variables below).

Configuration variables

Variable Default Purpose
ARES_Auto_Lengths True Master switch for automatic length insertion.
ARES_Update_Lengths True Recompute the length when the linked geometry changes (both this and ARES_Auto_Lengths must be True).
ARES_Length_Triggers (Xx_m) Trigger pattern(s) where the length is written; several allowed, separated by | (e.g. (Xx_m)|(Xx_cm)).
ARES_Length_Trigger_ID Xx_ Placeholder inside the trigger replaced by the value; must appear in every trigger.
ARES_Length_Round 1 Decimal places for the inserted length.
ARES_Update_Color_With_Length True Also sync the text color to the linked geometry's color.
ARES_Only_Color_Update True Color-only mode: sync color without touching the length.
ARES_Update_ATLASCellLabel True Rebuild ATLAS leader-label cell geometry after a text edit.
ARES_Cell_Is_Label_Name ETI076|ETI01E|… Cell names treated as ATLAS labels (| separated).

Clone this wiki locally