Since version 27, Cadwork has integrated Python as its primary scripting language. The API provides a bridge to the software’s core engine, enabling:
He zoomed in on a joint—a complex intersection of a diagonal brace and a main rafter. He clicked the 'Check Joinery' button.
The cadwork API is a transformative tool that turns a powerful 3D modeling software into a fully customizable platform. Whether you are a construction professional looking to automate daily tasks, a developer building complex integrations like compas_cadwork , or a firm seeking to streamline your data workflow with script-filled attributes, the API provides the means.
Rather than manually drawing every timber beam or connector, the API allows engineers to transform "engineering rules" into executable code. Automation of Repetitive Tasks cadwork api
While cadwork has native CNC outputs, a specialist manufacturer needed a proprietary format for a Hundegger K2 saw. They built a Python script via the API that traverses all machining operations, sorts them by tool orientation, and writes a custom G-code dialect. This eliminated manual editing of CNC files.
Temporarily switch off validation checks to speed up processing during heavy operations. 4. Direct Access to CAD Data Access element properties like: Global and local coordinates. Volume, surface area, and weight. Material type and name. Developing Plugins with Cadwork API
He cracked his knuckles and opened his coding editor. It was time to talk to the machine. Since version 27, Cadwork has integrated Python as
The Cadwork Application Programming Interface (API) is a development interface that allows engineers, architects, and software developers to interact programmatically with Cadwork’s core 3D modeling engine. Instead of manually clicking through menus to draw beams, assign attributes, or generate shop drawings, developers can write scripts and applications to execute these tasks automatically.
"I can't do it manually," Elias admitted. "I need an intervention."
If you are ready to venture into Cadwork development, follow this strategic roadmap: The cadwork API is a transformative tool that
The API provides a "multitude of basic functions" that allow for complex manipulation of a building model :
To build stable, maintainable code within cadwork, developers should adhere to production-grade practices:
By utilizing the Cadwork API, companies can build custom tools that solve these exact pain points, scaling their production capacity without linearly increasing engineering hours. Core Capabilities of the Cadwork API