Commands  ›  Architecture / Tracing  ›  Architecture Trace Walls From Cad Layer In Linked Instance

Architecture Trace Walls From Cad Layer In Linked Instance

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

Coming soon

Before you run this

A linked CAD instance present in the model containing wall lines on a known layer. Layer-to-wall-type mapping configured in the project. Active level set.

After it runs

One Wall element per CAD line on the layer, hosted on the active level, snapped to the CAD geometry, type picked per the layer-to-type mapping.

When to use this

Don't use this when

Curved walls (different routine; future work), tracing across multiple linked CAD files in one go, or layers without a wall-type mapping.

Decision flow

1. Read the linked CAD instance and walk every line on the named layer.
2. Resolve the wall type for that layer from the project mapping.
3. For each line, project endpoints onto the active level and create a Wall.
4. Apply the configured top constraint and join geometry where lines meet.
5. Report walls created, layers used and any lines skipped (zero length, unmapped layer).

What you'll see in the chat

on start
I'll trace walls from that CAD layer now.
thinking
Walking each line on the layer and picking the wall type from the project mapping.
on success
Done — {n_walls} walls traced from "{layer}" using {wall_type}.
on failure
Couldn't trace walls: {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_trace_walls_from_cad_layer_in_linked_instance
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

trace walls from CAD · CAD layer to walls · wall from line · CAD-to-Revit walls · plan trace

PillarArchitecture / Tracing