Skip to content

Property Calculation

Asketyll edited this page Jul 23, 2026 · 4 revisions

Property Calculation

Automatically calculates a custom property's value and writes it onto the elements of a graphic group — for example, from a label cell's full text. Property Calculation is a value engine: it only fills values in, it never attaches properties itself (attaching is Custom Properties' job). It reuses the shared ARES DGNLib custom properties (Item Types).

Phase 1 — dormant. With the new grammar (v2) of the attach rules (see Custom Properties), the old "a cell's text becomes a property value" mechanism no longer feeds Property Calculation, so the feature currently does nothing. Its dedicated calculation rules — one per property, choosing a calculated or a fixed value — come in a later phase. The engine, its options dialog and its two variables below are already in place, inert, ready to be wired to those rules.

Commands

EditPropertyCalculationOptions

macro vba run [ARES]EditPropertyCalculationOptions

Opens the Property Calculation options (the two variables below). Editing is write-through — the config stays in sync, no restart.

Configuration variables

Variable Default Purpose
ARES_Property_Calc False Master switch for the feature (off by default; inert in phase 1).
ARES_Calc_Detach_Empty False When on, a property whose calculated value ends up empty is detached (the tagger removes it) instead of being kept empty; a rule that still mandates the property re-attaches it (empty).

Clone this wiki locally