Commands  ›  Annotation  ›  Annotation Distribute Dimensions Uniformly With Spacing

Annotation Distribute Dimensions Uniformly With Spacing

Annotation writes to model Public API · not yet exposed

Coming soon

Before you run this

Active document open; at least one dimension id supplied; spacing > 0.

After it runs

Every input dimension moved by (index × spacing) on Y. One committed Transaction.

When to use this

Don't use this when

Aligning to a reference line (use AlignDimensionsToReferenceLineCommand when built).

Decision flow

1) dimension ids csv → list of ids; spacing mm (default 300). 2) Resolve dimensions (preserving input order so spacing is predictable). 3) Validate spacing > 0 and ≥ 1 dimension. Else WireError. 4) Open Transaction 'Distribute dimensions'. 5) For i = 0..N-1 move element i by (0, i × spacingFt, 0). 6) Commit. 7) Bot JSON / User toast. 8) Exception → tracker.Fail + WireFault.

What you'll see in the chat

on start
Distributing dimensions uniformly…
thinking
Resolving dimensions + ordering…
Applying per-index Y shift…
on success
Distributed {moved_count} dimensions at {spacing_mm} mm spacing.
on failure
Could not distribute dimensions: {error}.

REST API

Not yet exposed

This command does not carry a [RestApi] attribute today. Once tagged, this section will auto-populate with:

  • POST /api/v1/commands/annotation_distribute_dimensions_uniformly_with_spacing
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

distribute dimensions · uniform spacing · stack dimensions · annotation tidy-up · drawing presentation

PillarAnnotation