Commands  ›  Architecture / Levels  ›  Architecture Set Level Height With Hosted Element Move Mode

Architecture Set Level Height With Hosted Element Move Mode

Architecture / Levels writes to model Public API · not yet exposed

Coming soon

Before you run this

Level selected. New elevation supplied. Move mode supplied (one of: keep / move / stretch).

After it runs

The level's elevation is updated; hosted elements behave per the chosen move mode; an audit entry records the old elevation, new elevation and mode.

When to use this

Don't use this when

Bulk-shifting all levels (separate command), changing the project base point (different routine), or when hosted elements shouldn't move at all (Revit's default level edit).

Decision flow

1. Read the current level elevation and snapshot every hosted element's host elevation.
2. Apply the new elevation to the level.
3. Per the move mode: keep elements at original Z, move with the level, or stretch heights between adjacent levels.
4. Persist all of this in one Transaction so partial failures roll back.
5. Report old / new elevation, mode and the count of elements affected.

What you'll see in the chat

on start
I'll change that level's elevation now and move hosted elements per the chosen mode.
thinking
Snapshotting hosted-element elevations and applying the move mode after the level shift.
on success
Done — {level} moved from {old_elevation} to {new_elevation} mm in "{move_mode}" mode. {n_elements} hosted elements adjusted.
on failure
Couldn't change the level height: {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/architecture_set_level_height_with_hosted_element_move_mode
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

change level height · move level · hosted elements move · storey height change · level rework

PillarArchitecture / Levels