Commands  ›  Element Movement  ›  Placement Move Element By Dumb Vector

Placement Move Element By Dumb Vector

Element Movement writes to model Public API · not yet exposed

Coming soon

Before you run this

Active document. ≥1 element resolved. Vector non-zero.

After it runs

Each element translated by the vector. Audit entry written.

When to use this

Don't use this when

Space-aware moves (use IntoDetectedSpace). View-axis directional moves (use DirectionalByViewAxis).

Decision flow

1. Resolve element ids and the (dx, dy, dz) vector in mm.
2. Validate the vector is non-zero and the elements exist.
3. Convert the vector from mm to feet (Revit's internal unit).
4. In one Transaction, ElementTransformUtils.MoveElement each element by the vector.
5. Report elements moved and the mm vector applied.

What you'll see in the chat

on start
I'll shift the selection by ({dx_mm}, {dy_mm}, {dz_mm}) mm now.
thinking
Reading the vector and applying it to each element.
on success
Done — {n_moved} element(s) shifted by ({dx_mm}, {dy_mm}, {dz_mm}) mm.
on failure
Couldn't move the selection: {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/placement_move_element_by_dumb_vector
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

move by vector · translate selection · shift by mm · dumb move · MEP nudge

PillarElement Movement