Set raw node data
node_set_dataOverwrites one raw field in a node's internal data block for fields other setters miss, writing without type checking; run project validation afterward.
Instructions
Low-level escape hatch: overwrites one raw field of a node's internal data block.
Use it only for fields that node_set, curve_set, gradient_set and spline_set do not cover. The value is
written without type checking, so run project_validate(engine=true) afterwards. Writes the project file in
place.
Returns {"ok": true}.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Name of an existing field of the node's data block. An unknown name fails and lists the available fields. | |
| path | Yes | Absolute path of the .illugen project file. | |
| graph | No | Graph to work in: empty for the top-level graph, or the id or label of a Node_Subgraph node ('outer/inner' for nested subgraphs). | |
| value | Yes | New value as tagged JSON, in the same form node_get uses: vectors as {"__vec__": "f3", "v": [x, y, z]}. | |
| node_id | Yes | Node id as a string (from project_summary or node_add), or the node's label if it is unique. |