Skip to content

Region Split

Etienne edited this page Jun 29, 2026 · 2 revisions

Region Split

Cuts a closed region (Shape / ComplexShape) into two with a single datapoint on its boundary: the cut runs perpendicular to the local edge across the interior. Both halves inherit the original's level and symbology.

Command

SplitRegion

macro vba run [ARES]SplitRegion

Starts the interactive split: click on the boundary of a closed region to cut it. The command re-arms for the next cut; reset to end.

Configuration variables

Variable Default Purpose
ARES_RegionSplit_Keep_Original False False = delete the original region after both halves are written; True = keep it alongside them.
ARES_RegionSplit_Collinear_Tol 0.000001 Geometric epsilon (degenerate-segment / coincident-point threshold); also drives the cut-knife half-width.
ARES_RegionSplit_Stroke_Tol 0.01 Max chordal deviation when densifying a curved boundary into a polyline; smaller = closer-to-radial cut on arcs.

Clone this wiki locally