Place objects (library parts)
create_objectsPlace GDL objects like furniture, fixtures, and custom parts into an Archicad project at specified positions, with optional sizes, angles, and parameters, all in one undo step.
Instructions
Places GDL objects (furniture, equipment, fixtures, custom parts from create_library_part, ...) in one undo step. Each item needs a libraryPart (Object type — names are LOCALIZED, so find them first with search_library_parts {query, type: 'Object'}) and a position (meters). Optional: elevation above the home story, angle (degrees CCW), mirrored, sizes sizeA (X) / sizeB (Y) / height (ZZYZX), any GDL params by name (see get_library_part_details), pen/line/surface overrides, story visibility, layer, storyIndex. Returns [{guid, type} | {error}] in input order. Lamps: create_lamps. Doors/windows: the opening tools. Later changes: modify_elements (same fields), set_gdl_parameters, change_library_part.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objects | Yes | Objects to place | |
| undoName | No | Name of the undo step |