Skip to content

Custom Properties

Etienne edited this page Jul 1, 2026 · 1 revision

Custom Properties

Automatically attaches DGNLib-defined custom properties (Item Types) to elements as they are created or modified, driven by configurable rules. The property definitions and their value lists live in the shared ARES DGNLib (authored via MicroStation's Item Types dialog); ARES only attaches / reads / writes them.

Commands

EditPropertyTaggingOptions

macro vba run [ARES]EditPropertyTaggingOptions

Opens the custom-property options dialog — master switch, property list, and tagging rules (the variables below). Editing is write-through (config stays in sync, no restart); a rule change applies live on the next created/modified element.

Configuration variables

Variable Default Purpose
ARES_Custom_Property_List Commune|Coupe_Type |-separated names of the ARES custom properties (each name is both the ItemType and the property in the "ARES" DGNLib). Add your own after authoring the matching ItemType + value list in the DGNLib.
ARES_Auto_Properties True Master switch for auto-attaching custom properties to elements as they are created / modified.
ARES_Property_Rules (empty) Rules level[:type]=prop|prop ; … mapping elements (by level, optional element type) to the properties to auto-attach. Example: WALLS=Commune|Coupe_Type ; DOORS:Cell=Commune.

Clone this wiki locally