build_project
Builds the project, returning build state and errors/warnings, required before transferring to a PLC or simulator. Automatically performs a full rebuild when an incremental build is not possible.
Instructions
Build the project (incremental by default, full rebuild with rebuild_all=True). Returns the resulting build state and, when available, the Control Expert output window text with errors/warnings. A successful build is required before transferring to a PLC or simulator.
On a fresh or just-imported project an incremental build has nothing to build against and Control Expert raises 'Build changes function not available'; this tool detects that and automatically performs a full rebuild instead (the result carries a 'note' when it does), so the default call works on the first build — you do not need to pass rebuild_all=True.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rebuild_all | No |