Scripts in the palette
Open the Tapir palette, pick a script and press Run Script. The built-in scripts are there from the start, and more are shared by the community.
Browse scriptsAutomation for Archicad
Number every door along a line. Colour the model by any property. Check a project before it goes out. Tapir adds hundreds of commands to Archicad and a palette that runs scripts in one click, and lets AI assistants such as Claude work in your model.
Then run the installer, start Archicad and follow Get started to your first script, in about ten minutes.
Tapir is an add-on that runs inside Archicad. Grasshopper, Python scripts and AI assistants send it commands, and it carries them out in the open project.
Three of the four need no programming. All of them use the same commands.
Open the Tapir palette, pick a script and press Run Script. The built-in scripts are there from the start, and more are shared by the community.
Browse scriptsConnect Claude, Codex, Antigravity or a local model through the Tapir MCP server, then ask in plain words: list the walls, fill in properties, check the model.
Connect an AI assistantThe tapir package in Rhino's Package Manager. Walls, doors, windows and more as components that read and change the model, with the names of Archicad's settings dialogs.
Grasshopper guideEvery command answers on port 19723, each with a schema and an example. Python's standard library is enough.
Command referenceFive built-in scripts of the Tapir palette and one workflow script, each a short Python file you can read and change.
Select a polyline and the doors, zones or objects to number. Each one gets its Element ID in the order the polyline passes it.
In the palette: AutomaticNumberingBasedOnPolyline.py
Pick a property; every element gets a colour for its value, with a legend of the values and how many elements have each. Number values can be grouped into ranges.
In the palette: PropertyHighlighter.py
Lists elements without an ID, zones with the same number, unclassified and duplicate elements, empty stories and unused layers. Export the list to Excel or turn it into Issues.
In the palette: ProjectHealthCheck.py
Publishes the chosen Publisher Sets now or on a schedule, every few hours or daily at a set time. It can receive the Teamwork changes and update the drawings first, and logs every run.
In the palette: BatchPublisher.py
Finds the views that are neither placed on a layout nor published, and moves the ones you choose into a separate folder that keeps their folder structure.
In the palette: UnusedViewCleaner.py
Writes the 3D model, or only the selected elements, to a Wavefront OBJ file, one object per element, for Blender and other tools.
export_obj.pyTwelve kinds of work offices automate with Tapir, from a palette script to a Grasshopper definition. Each leads to its tutorial, script or guide.
Read and update the properties of hundreds of elements in seconds.
Create walls, slabs and beams from Python, with the settings you choose.
Material and element quantities for reports, straight from the model.
Let an AI assistant read and change your model through a Tapir MCP server.
Create and track issues and exchange them as BCF files from Python.
Classify elements by naming conventions or by rules on their geometry.
Script views, sections and the Layout Book.
Find missing values and elements that break the office's standards.
Python scripts made for your office's standards, run from the palette.
Connect Rhino and Grasshopper definitions to native Archicad elements.
Select elements by type, layer, classification or nested properties.
Rename views, layouts and Publisher Sets to match the project's standards.
With a project open, Archicad answers JSON commands on http://127.0.0.1:19723.
Tapir's commands go through Archicad's API.ExecuteAddOnCommand. Save this as
walls.py and run it with any Python 3.
With several Archicads open, the next ones answer on 19724, 19725 and so on.
import json
import urllib.request
def run_tapir_command(command, parameters=None):
body = json.dumps({
'command': 'API.ExecuteAddOnCommand',
'parameters': {
'addOnCommandId': {'commandNamespace': 'TapirCommand', 'commandName': command},
'addOnCommandParameters': parameters or {}
}
}).encode('utf-8')
request = urllib.request.Request('http://127.0.0.1:19723', body, {'Content-Type': 'application/json'})
with urllib.request.urlopen(request) as response:
result = json.loads(response.read())
if not result['succeeded']:
raise RuntimeError(result['error'])
return result['result']['addOnCommandResponse']
print(run_tapir_command('GetAddOnVersion'))
walls = run_tapir_command('GetElementsByType', {'elementType': 'Wall'})['elements']
print(len(walls),'walls')
Your first script, the reference, sharing your own scripts, and the people who build Tapir.
Install Tapir, open the Tapir palette in Archicad and run a script that comes with it. No programming.
Get started DocsEvery command with its schema and an example, the Grasshopper guide, and what Tapir covers of the Archicad API.
Open the docs SharePost a script on Discord or as a pull request. It is checked, adapted for any office and listed with your name. No GitHub account needed.
How sharing works CommunityDiscord, the video series, and how a bug report becomes a fix.
Join in