Place lamps
create_lampsPlaces lamp GDL library parts such as ceiling lights, spots, and floor lamps in Archicad in one undo step, with options for light state, color, intensity, and placement.
Instructions
Places lamps (light-emitting GDL library parts of type 'Lamp': ceiling lights, spots, floor lamps, ...) in one undo step. Same fields as create_objects plus lightOn, lightColor {red, green, blue} (0..1) and lightIntensity. Find lamp names with search_library_parts {type: 'Lamp'} (names are localized). Typical ceiling light: elevation = ceiling height minus the lamp height. Returns [{guid, type} | {error}].
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": {
"lamps": "<lamps>"
},
"name": "create_lamps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lamps | Yes | Lamps to place | |
| undoName | No | Name of the undo step |