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}].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lamps | Yes | Lamps to place | |
| undoName | No | Name of the undo step |