Cadwork Api __full__ Jun 2026
project = ctrl.get_project()
For a multi-building residential complex, the architect required separate IFC files for each building, each filtered by level. The cadwork API opened the master model, looped through each building (using a custom attribute "BuildingID"), and exported a clean IFC file. What would have been a tedious 4-hour manual process became a 2-minute automated batch.
The CADwork API is a set of programming interfaces that allows developers to access and manipulate CADwork's functionality, data, and models. It provides a way to interact with CADwork programmatically, enabling automation, customization, and integration with other software applications. The API is designed to be flexible and extensible, supporting various programming languages, including C++, C#, and .NET.
This comprehensive guide explores the architecture of the Cadwork API, its core capabilities, practical use cases, and how to get started with automation in timber engineering. Understanding the Cadwork API Architecture cadwork api
Begin by writing simple Python scripts inside Cadwork to automate basic tasks, such as renaming attributes, color-coding elements by material type, or exporting automated BOMs (Bills of Materials).
Getting started with the is straightforward, even for those new to programming. Python is designed to be readable and beginner-friendly, while offering advanced capabilities for experienced users Cadwork Documentation.
By using the API, timber engineering firms can transition from manual drafting to . This allows for the creation of "small helpers"—lightweight scripts for specific geometric problems—or large-scale custom plugins that implement company-specific manufacturing rules without altering the underlying Cadwork source code. Cadwork Python Documentation project = ctrl
He cracked his knuckles and opened his coding editor. It was time to talk to the machine.
Automate the export of data to CAM machines, IFC files, or custom report formats D2P Tools .
Programmatically trigger the creation of shop drawings, element plans, piece lists, and BVX/CAM files for CNC machines (like Hundegger or Weinmann). The CADwork API is a set of programming
# Deactivate the elements to ensure they are only added to the new scenes vc.set_inactive(element_ids)
cadwork has evolved its API over multiple versions (v20, v21, v24, etc.). Currently, the most robust support exists for:
The CADwork API offers a wide range of features that enable developers to tap into CADwork's capabilities. Some of the key features include: