vw2d_fix
Repairs Vectorworks 2D check issues by snapping gaps, closing outlines, cleaning duplicates, clipping overlaps, merging areas, or setting attributes by class, then rechecks in one undo step.
Instructions
Fix check issues exactly, then check again (one undo step).
snap: points that miss a vertex/edge by <= tolerance_mm move exactly onto
it (gaps and small overlaps disappear); objects in fixed never move;
share_vertices inserts the point into the neighbour's edge so both
share the node. Arcs keep their circle.
close: close open outlines (end point merged with the start if within
the tolerance).
clean: remove duplicate and collinear vertices (merge_short=True also
merges vertices closer than the tolerance).
duplicates: delete duplicate areas/lines (the top copy stays).
overlaps: clip overlapping areas: priority (uuids or class names,
first wins) keeps its area; without priority the object on top wins,
so the drawing looks the same but has no stacked fills.
merge: union all objects in scope (or uuids) into one area.
by_class: set every graphic attribute of the scoped objects to 'by
class'.
issue_ids limits the fix to issues from the last vw2d_check with the
same scope/settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fixed | No | ||
| image | No | ||
| layer | No | ||
| uuids | No | ||
| action | Yes | ||
| compare | No | layer | |
| priority | No | ||
| issue_ids | No | ||
| selection | No | ||
| class_name | No | ||
| merge_short | No | ||
| tolerance_mm | No | ||
| ignore_classes | No | ||
| share_vertices | No |