directory of your user profile. The Python file inside must match the folder name to be recognized as a plugin.
Build native-looking interactive dialogs, menus, and input forms directly inside the cadwork user interface. Key Benefits of Automating with Cadwork API
: Python is famously beginner-friendly with a readable syntax, making it accessible to engineers who aren't full-time developers. Vast Ecosystem : Because it uses , you can integrate standard Python modules like directly into your Cadwork workflows. Rapid Development
A classic example includes a "Dual Export" tool that gathers all components of a container, automatically generates shop drawings for each individual piece, and exports them to a specialized format, saving hours of manual drafting. Getting Started with Cadwork API cadwork api
For those looking to push the boundaries of BIM in timber construction, the is a game changer. The ability to manipulate 3D elements programmatically allows for precision and speed that manual drafting simply cannot match. Key Tech Capabilities:
def main(): # Get the IDs of all selected elements element_ids = ec.get_active_identifiable_element_ids()
An application programming interface, or API, is a connection that allows different software programs to communicate with each other. For cadwork, the API is a documented interface that allows external programs—such as custom Python scripts—to access and manipulate cadwork’s 3D data and core functions. It serves as a software interface, offering a structured service that other pieces of software can use to interact with cadwork. directory of your user profile
Since the introduction of Python-based scripting in version 27, the Cadwork API has revolutionized how structural engineers, designers, and manufacturers interact with their 3D models. What is the Cadwork API?
What kind of automation are you hoping to build with the ?
You invested in cadwork because it is the best in class for heavy timber and engineering. But you are only using 60% of its value if you aren't scripting. Key Benefits of Automating with Cadwork API :
In the world of timber construction, efficiency isn't just about how fast you can saw; it's about how smart you can model. Since version 27, cadwork has offered a powerful that allows users to move beyond standard tools and build custom solutions.
Do you have , or are you starting from scratch? Which version of Cadwork are you currently using? Share public link
However, users should be aware that the C++ API is not as extensively documented as its Python counterpart. Developers often have to refer directly to the type definitions in the source code for clarification.
Utilize standard logging libraries to output geometric coordinates and attribute values to debug logic errors. Example Conceptual Script Structure