Skip to main content
Glama
alesdev88

Archicad-MCP

by alesdev88

Create elements

create_elements
Destructive

Create elements of any type Tapir can create. element_type: model wall, beam, column, slab, roof, morph, mesh, stair, railing, zone, curtain_wall, grid_element, object, lamp; hosted door, window (in a wall), opening; MEP mep_route…

Instructions

Create elements of any type Tapir can create. element_type: model wall, beam, column, slab, roof, morph, mesh, stair, railing, zone, curtain_wall, grid_element, object, lamp; hosted door, window (in a wall), opening; MEP mep_route, mep_element (Archicad 28+), electrical_panel, electrical_device, electrical_circuit (Archicad 30); markers section, interior_elevation; hotlink_instance; 2D line, arc, circle, polyline, spline, hatch, hotspot, text, label, keynote_label; dimension, level_dimension, wall_thickness_dimension, section_dimension; drawing (on a layout). Plurals and Tapir command names work too. Items use Tapir's field names and units (metres, radians): call with items=[] to get the item schema for a type. DRY-RUN BY DEFAULT: every item is validated against the schema (any problem: nothing is sent, problems listed by item index and field), a favoriteName and a libraryPartName must exist (closest names suggested), and hosts (a door's wall, the elements a dimension measures, a label's parent) must exist, be the right type and be editable; items failing those are skipped with the reason and the rest go ahead. Warns when the active window is wrong for the type, when an object or lamp has no dimensions (it would take the tool's current size, not the library part's) and when it sends offset or useFixedAngle (Archicad discards them). Pass dry_run=false to create: returns created GUIDs, plus Tapir's per-item errors grouped with item indices and by_index (item index -> GUID) when not every item was created.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
portNo
itemsYes
dry_runNo
element_typeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

Score is being calculated.