Cadwork Api [upd] Official

var el = _api.getElement(id); // logic

: Evaluating the properties of every individual part within a complex construction to generate production lists. Nesting and CNC cadwork api

The Cadwork API (Application Programming Interface) is a bridge that allows external scripts to interact directly with Cadwork 3D. While Cadwork has long supported powerful built-in modules, the API—specifically the Python-based interface var el = _api

introduced in version 27—empowers users to write their own "helpers" and plugins. var el = _api.getElement(id)

Check out the latest here to see how version 30 and the Hoops Visualize engine are further enhancing these capabilities.

import cadwork import element_controller as ec import point_controller as pc