Commands  ›  Combined  ›  Create Similar Views For Levels

Create Similar Views For Levels

Combined writes to model Public API · not yet exposed

Coming soon

Before you run this

Active document must be open with an active ViewPlan. At least two primary levels must exist (current + targets). ViewPlan must be a floor plan or ceiling plan.

After it runs

New views are created for each primary level (except the source level). All views match the source view's template, scope box, scale, and other settings. View names follow consistent pattern based on source view name.

When to use this

Don't use this when

Custom UI required for preview/confirmation only. AI path is JSON-first and dialog-free.

Side effects

Creates new ViewPlan elements in the document.

Inputs

NameKindTypeRequiredDefaultDescription
SourceView selection ViewPlan yes Source view to copy settings from
"Active view is used as source"
IncludeSourceLevel config bool no false Whether to skip or include the source level
NamePattern config string no "auto" Pattern for naming views, use {Level} for level name

Returns

NameTypeDescription
CreatedViewsList<ViewPlan>List of created views
ViewCountintNumber of views created

Decision flow

check: document.isOpen → continue
check: activeView.isViewPlan → continue, else → error
action: extractViewSettings → template, scopeBox, scale, crop, etc.
action: getPrimaryLevels → ListLevels.GetPrimaryLevels
check: primaryLevels.count >= 2 → continue, else → error
action: filterLevels → exclude source level
action: createViewsForEachLevel → CreateViews helper
action: applySettings → match all properties
resolve: success → showSuccess with created views

What you'll see in the chat

on start
Replicating your view settings across all levels...
Creating matching views for each floor...
thinking
Extracting view settings from source view...
Getting primary levels from model...
Creating views for each target level...
Applying template, scope box, and scale settings...
on success
Created {ViewCount} views matching your source view settings.
on failure
View replication failed: {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/create_similar_views_for_levels
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

create similar views · copy view levels · duplicate view · propagate view · view for all levels
Patterns: create * similar * views * levels · copy * view * all * levels · duplicate * view * levels · create * views * each * level

Related commandsCreateViewsCommand · SetTemplateCommand · SetViewToScopeBoxCommand
PillarCombined