top of page

Cadwork — Api

// Define start and end points (Units are typically Millimeters) cwGeometry.cwPoint3d startPoint = new cwGeometry.cwPoint3d(0, 0, 0); cwGeometry.cwPoint3d endPoint = new cwGeometry.cwPoint3d(3000, 0, 0);

: You don't need to restart cadwork to test changes. Simply save your Python file and rerun the plugin to see updates immediately. Getting Started with Development

Design your scripts so they can be run multiple times on the same model without creating duplicate elements. Check for existing elements before generating new ones. cadwork api

By integrating CPython, users can execute highly tailored plugins and scripts directly inside the Cadwork 3D workspace without rewriting core software code. Core Architecture and Controllers

| Benefit | Impact | |---------|--------| | | Reduce hours of manual work to seconds. | | Error reduction | Eliminate manual entry mistakes. | | Repeatability | Run the same process on any project. | | Integration | Connect cadwork to the rest of your digital workflow. | | Competitive edge | Deliver faster, more consistent designs. | // Define start and end points (Units are

This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later.

print("Processed", len(selected), "elements.") Check for existing elements before generating new ones

The API can intelligently select elements based on user-defined criteria (e.g., "all beams longer than 4 meters" or "all panels with a specific lot number"). This selective power is the foundation of automated quality checks.

// Set User Attribute 1 (Usually "Element Name" or custom field) element.setListItem(1, "Wall_Panel_01");

The is a developer framework that allows engineers, timber framers, and software developers to programmatically automate, customize, and extend Cadwork 3D. Cadwork is a leading Building Information Modeling (BIM) and Computer-Aided Design (CAD) software tailored specifically for timber engineering, framing, and offsite manufacturing. By leveraging the Cadwork Application Programming Interface (API), users can bypass manual modeling constraints, build custom plugins, and seamlessly connect their shop floors to automated manufacturing pipelines.

bottom of page