Skip to content
Etienne edited this page Jul 1, 2026 · 3 revisions

Zoning

Generates buffer ("safety") zones — uniform offset boundaries — around elements found on the source level(s).

Two commands share the same geometry engine but have independent option sets and dialogs:

  • RunZoning — broad, merged zones (ARES_Zoning_*).
  • RunOutline — tight per-element outlines (ARES_Outline_*).

Commands

EditZoningOptions

macro vba run [ARES]EditZoningOptions

Opens the Zoning options dialog (configures the ARES_Zoning_* variables below).

RunZoning

macro vba run [ARES]RunZoning

Generates buffer zones: distance from ARES_Zoning_Distance (2.0 m), rounded caps, all zones merged into one region.

EditOutlineOptions

macro vba run [ARES]EditOutlineOptions

Opens the Outline options dialog (configures the ARES_Outline_* variables below).

RunOutline

macro vba run [ARES]RunOutline

Tighter per-element pass with its own options: distance from ARES_Outline_Distance (0.2 m), flat (square) caps, per-element sub-zones fused but zones from different elements not merged.

Configuration variables

Zoning (RunZoning)

Variable Default Purpose
ARES_Zoning_Level (empty) Source level name(s) whose elements get buffered (| separated). Empty = nothing processed.
ARES_Zoning_Distance 2.0 Buffer distance (master units) for RunZoning.
ARES_Zoning_Output_Level ARES_Zoning Level the generated zones are written to (also the level read by Zone Export).
ARES_Zoning_Output_Color 5 Output color index.
ARES_Zoning_Output_Style 0 Output line style.
ARES_Zoning_Output_Weight 4 Output line weight.

Outline (RunOutline)

Variable Default Purpose
ARES_Outline_Level (empty) Source level name(s) for RunOutline (| separated). Empty = nothing processed.
ARES_Outline_Distance 0.2 Buffer distance (master units) for RunOutline.
ARES_Outline_Output_Level ARES_Outline Level the generated outlines are written to.
ARES_Outline_Output_Color 5 Output color index.
ARES_Outline_Output_Style 0 Output line style.
ARES_Outline_Output_Weight 4 Output line weight.

Clone this wiki locally