proj_set_code
Write declaration or implementation into .TcPOU/.TcDUT/.TcGVL files, preserving remaining XML, creating a .bak, and clearing stale LineIds; ideal for batch edits while XAE is closed.
Instructions
Write declaration/implementation back into the .TcPOU/.TcDUT/.TcGVL file (keeps the rest of the XML byte-identical, writes a .bak, drops the object's stale ). Use when XAE is closed or for batch edits; otherwise prefer xae_pou_set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| declaration | No | ||
| strip_lineids | No | ||
| implementation | No | ||
| regenerate_lineids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||