Place hotlinked modules
place_hotlinkPlaces hotlinked modules from Archicad files or existing nodes into a project, positioned, rotated, and set to a story, keeping links for refresh or break.
Instructions
Places hotlinked modules (one undo step): from a file ('source': .pln / .pla / .mod — a hotlink node is created, or an existing node with the same file and story settings is reused) or another instance of an existing node ('node' from get_hotlinks). Position/angle/mirror set where the source's origin lands; storyIndex is the home story. The module stays linked: refresh it with update_hotlinks, break it into own elements with delete_hotlinks {keepElements: true} (or use merge_file). Returns [{guid, nodeGuid, nodeCreated, instance, node} | {error}]. XRef (DWG) attachment is not available through the Archicad 26 API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hotlinks | Yes | Hotlink instances to place | |
| undoName | No | Name of the undo step |