Create fill types
create_fillsCreate solid, vector, gradient, and image fills for Archicad. Define hatch patterns, copy existing fills, and apply them to building materials, hatches, and cover fills.
Instructions
Creates fill types: Solid (percentage/screen fill with percent: 25, or an explicit bitmapPattern, e.g. '55AA55AA55AA55AA' = 50%), Empty, Vector (hatch lines in mm on paper, e.g. {name: 'Diagonal 2mm', lines: [{angle: 45, spacing: 2}]}; with scaleWithPlan: true the values are meters in the model, e.g. a 0.3 m tile grid [{angle: 0, spacing: 0.3}, {angle: 90, spacing: 0.3}]), LinearGradient / RadialGradient, Image (texture). Symbol fills and any other fill can be copied with basedOn / duplicate_attributes. Use fills in building materials (cutFill), hatches, zone/slab cover fills. Runs in one undo step. Returns {results: [{index, name, guid, created: true} | {..., existed: true} | {error}]} in input order; one failing item does not stop the others. Names are localized (Russian Archicad): look existing attributes up with get_attributes first.
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": {
"fills": "<fills>"
},
"name": "create_fills"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fills | Yes | ||
| ifExists | No | Name collision handling for all items: 'error' (default), 'skip' (reuse the existing attribute), 'update' (apply the fields to it) |