gh_data_tree_set_batch
Batch-apply multiple Grasshopper DataTree assignments in one solve, pausing the solver until all changes are applied to trigger a single recompute for efficient parameter sweeps.
Instructions
Apply many DataTree assignments at once with a single GH solve.
With ``defer_solve=True`` (default) the GH document is paused while
the assignments are applied and recomputed exactly once at the end —
critical for parameter sweeps where N independent ``set`` calls
would otherwise trigger N solver runs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"args": "<args>"
},
"name": "gh_data_tree_set_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||