Skip to main content
Glama
davidharutyunyan

Archicad MCP Connector

Dimension walls

dimension_walls

Automatically dimension walls and their window/door jambs on the floor plan, creating associative dimensions that update with later edits. Choose Chain, EachWall, or Thickness mode for walls.

Instructions

Automatically dimensions walls on the Floor Plan (one undo step): wall end points plus window/door jambs (or centers), linked to the walls/openings so the dimensions follow later edits. mode 'Chain' (default) = ONE chain through all given walls, measured along 'direction' (default: first wall's begin→end) — e.g. pass all walls of a facade, including the perpendicular ones whose ends should appear; mode 'EachWall' = one dimension parallel to each wall; mode 'Thickness' = one dimension ACROSS each straight wall, linked to both wall faces (shows the wall width, follows thickness changes), crossing the wall at 'thicknessPosition'. For Chain/EachWall the line is placed 'distance' m beyond the outermost wall face on 'side' ('Auto' = away from the first wall's body); 'overall' adds a second line with the total length. Get wall GUIDs first (e.g. list_elements with types ['Wall'], find_elements or get_selection). Returns {results: [{guid, role: 'chain'|'overall'|'thickness', walls, pointCount, associativePoints, segments, total, linePoint, warnings?} | {error, wall?}]}; in EachWall/Thickness mode one failing wall does not stop the others.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo'Chain' (default): one chain for all walls; 'EachWall': one dimension per wall; 'Thickness': one width dimension across each wall
sideNoSide of the dimension line relative to the first wall's begin→end (or 'direction'): 'Auto' (default) = the side without the wall body
layerNoLayer name or index (defaults to the tool's default layer)
wallsYesWall GUIDs
layoutNoText layout algorithm for crowded chains ('Flexible' moves colliding texts)
linePenNoPen of the dimension and witness lines
overallNoAlso create an overall dimension (first to last point) further out
textPenNoPen (color) of the dimension text, 1-255
distanceNoDistance (m) from the outermost wall face to the dimension line (default 1)
textBoldNo
textFontNoFont by name (e.g. 'Arial') or font attribute index
textSizeNoText height in PAPER millimeters (e.g. 2.5), independent of the drawing scale
undoNameNoName of the undo step
directionNoChain direction (default: the first wall's begin→end direction). Not with mode 'Thickness'
markerPenNoPen of the markers
textFrameNoDraw a frame around the text
appearanceNoChain type: 'Normal' (segment lengths, default), 'Cumulative' (running distances from the first point), 'CumulativeSV' (Archicad's other cumulative variant), 'Elevation' (elevation-type values)
markerSizeNoMarker size in PAPER millimeters (e.g. 2)
markerTypeNoDimension line end marker: ticks ('SlashLine45', 'SlashLine60', 'SlashLine75', 'CrossLine'), arrows ('OpenArrow30', 'FullArrow30', ...), dots ('FullCircle', 'EmptyCircle', 'PepitaCircle', 'CrossCircle'), 'BandArrow'
storyIndexNoStory of the dimensions (default: the wall's story — in 'Chain' mode the first wall's)
textItalicNo
textOpaqueNoOpaque (filled) text background
witnessValNoWitness line value: the gap between the dimensioned point and the witness line (form 'Large') or the witness line length (form 'Fixed'), in the unit Archicad stores — read witnessVal of an existing dimension (get_element_details) or of the tool defaults first
associativeNoLink points to walls/openings/wall faces (default true); false = static points
witnessFormNoDefault witness line form of every point
textPositionNoWhere the value text sits relative to the dimension line: 'Above' (default of most standards), 'In' (breaks the line), 'Below'
clipOtherSideNoDo not draw the witness line part beyond the dimensioned point
openingPointsNo'Jambs' (default: both sides of each opening) or 'Centers'
textDirectionNoText orientation: 'Parallel' to the dimension line (default), always 'Horizontal', or 'Vertical'
textUnderlineNo
horizontalTextNoKeep the texts horizontal
overallSpacingNoDistance (m) between the chain and the overall line (default 0.8)
includeOpeningsNoDimension windows/doors of walls parallel to the chain (default true)
onlyDimensionTextNoShow only the texts (no lines/markers)
thicknessPositionNoMode 'Thickness': where the dimension crosses the wall, in m from the wall's begin point along its reference line (default: the middle). Values < 0 or > the wall length put the dimension beyond the wall ends

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare this is a write operation that is non-destructive and non-idempotent. The description adds valuable behavioral context beyond annotations: it runs as one undo step, dimensions are linked so they follow later edits, and in EachWall/Thickness mode one failing wall does not stop the others. It also describes the return structure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single dense paragraph but is front-loaded with the core action, then proceeds to modes, placement, and return format. Every sentence carries useful information, and given the tool's complexity (35 parameters, three modes), the length is justified, though a slightly more structured format could improve scanability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the essential aspects for correct invocation: what the tool does, mode selection, prerequisite steps, associative linking, undo behavior, and the return structure (including error handling). With high schema coverage and no output schema, it provides adequate completeness, though it could explicitly mention that other parameters follow standard Archicad dimension defaults.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is very high (91%), so the baseline is 3. The description goes beyond the schema by explaining how key parameters interact—particularly the 'mode' behaviors, 'direction' defaulting to the first wall's direction, 'side' auto selection, 'distance' placement, 'overall' behavior, 'thicknessPosition', 'openingPoints', and 'associative' linkage—adding meaningful context not fully captured in the schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: it automatically dimensions walls on the Floor Plan, creating associative dimension chains from wall end points and opening jambs/centers. It clearly distinguishes itself from generic dimension-creation siblings by being wall-specific and automatic, and it specifies the three modes it supports.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit guidance on when to use each mode (Chain vs EachWall vs Thickness) with examples such as 'pass all walls of a facade', and it tells the user to get wall GUIDs first via list_elements, find_elements, or get_selection. However, it does not explicitly name alternative tools like create_dimensions or modify_dimensions for cases where this tool is not appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools