Command · tilemap
tilemap.rule.apply
Apply terrain rules to a whole layer in one transaction.
scope edit:scenenot idempotentnon-destructive
Params
Typed as TileRuleParams. Fields marked * are required.
entity*
entityTilemap entity.
required
layer*
stringStable layer ID.
required
Examples
JSON (MCP ara_apply, batches)
{
"cmd": "tilemap.rule.apply",
"args": {
"entity": "e_map1",
"layer": "l_ground"
}
}CLI
ara do tilemap.rule.apply --args '{"entity":"e_map1","layer":"l_ground"}' --why "…"