Cadwork Api [new] Jun 2026

import math

: Using the new MCP server to reduce coding "hallucinations" when scripting complex timber joints or layouts.

Visual Studio Code or PyCharm are highly recommended for writing and debugging code. Understanding the Cadwork API Architecture cadwork api

: Manages parametric metadata. It modifies user-defined attributes, SKU numbers, production groups, and structural comment lists.

// 2. Iterate through IDs foreach (int id in selectedIds) import math : Using the new MCP server

_api.messageBox("Please select an element."); return;

# Get all elements in the current selection context element_ids = cadwork.element.get_active_identification() : As of early 2026, an MCP (Model

: You can implement customer-specific functions without altering the main cadwork program code.

: As of early 2026, an MCP (Model Context Protocol) server was launched to help developers use AI assistants to generate grounded scripts and explore API modules more effectively.

: Manage exports and imports for various formats like IFC, Rhino, STEP, and STL.