Commands  ›  Annotation  ›  Annotation Add Dimension From Gridline To Selected Element

Annotation Add Dimension From Gridline To Selected Element

Annotation writes to model Public API · not yet exposed

Coming soon

Before you run this

Active view is a plan / RCP. One gridline + one dimensionable element selected (or pickable in sequence). Project annotation style for grid-to-element dimensions defined.

After it runs

One DimensionString placed between the gridline and the element on the active view, using the configured type; the element's reference plane / centreline picked correctly.

When to use this

Don't use this when

Cumulative ("ordinate") dimensioning, dimensions in elevation, or grid-to-grid distances (use the grid-to-grid command).

Decision flow

1. Confirm the active view is a plan / RCP.
2. Read the gridline reference and the element reference (centreline / face) the user picked.
3. Compute a perpendicular dimension line clear of other annotation.
4. Create a DimensionString in one Transaction in the project's grid-to-element style.
5. Report the dimension created and its measured value.

What you'll see in the chat

on start
I'll dimension that element from the gridline now.
thinking
Reading the gridline + element references and computing a perpendicular witness.
on success
Done — dimension added from {grid} to {element} ({distance} mm).
on failure
Couldn't add the dimension: {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_add_dimension_from_gridline_to_selected_element
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

grid to element dimension · locate from gridline · setting out dimension · wall dimension · equipment dimension

PillarAnnotation