introduced in version 27—empowers users to write their own "helpers" and plugins.
When writing scripts that process entire models, filter out irrelevant elements (like auxiliary lines or hidden layers) immediately to optimize execution speed.
He zoomed in on a joint—a complex intersection of a diagonal brace and a main rafter. He clicked the 'Check Joinery' button.
Retrieve selected elements to process them. cadwork api
Python has become the standard for cadwork automation. Let's explore how to set up and use it.
Harnessing the Cadwork API: A Complete Guide to Timber Construction Automation
visualization_controller : Controls visibility, colors, and active layers within the user interface. A Conceptual Script Workflow introduced in version 27—empowers users to write their
# A known API behavior requires deactivating the elements before adding them to a scene. vc.set_inactive(element_ids)
Which you intend to use (Python, C++, etc.) The specific workflow or task you are looking to automate Your current programming experience level
import math
By leveraging the Cadwork API, developers, engineers, and BIM managers can automate repetitive modeling tasks, build custom plugins, and create seamless data pipelines between design offices and CNC fabrication shops. What is the Cadwork API?
The API operates by exposing the core functionalities of the engine to the Python programming language . This allows users to write scripts and plugins that interact directly with the 3D environment without modifying the underlying source code of the software .
Export drawings to various formats, including DXF/DWG or print to clipboard. He clicked the 'Check Joinery' button
Timber construction relies heavily on precise shop processing (e.g., tenons, mortises, birdsmouth cuts, and drilling layouts). The API can scan a 3D model, detect intersections between structural members, and apply specific machine processes automatically based on engineering rules. 3. Custom BIM and Data Extraction
The most immediate benefit is automation. Tasks like creating repetitive beam structures, generating floors with specific spacing, or batch-editing attributes can be scripted to run in seconds. For example, a custom script can automatically generate a complete timber frame floor structure based on polygon vertices and thickness information, saving hours of manual clicking. The API effectively takes the "boring" out of the equation so you can focus on design.
Downloads
Contact us today to have a custom and integrated engineered solution created for your orgainiztion