Read element data
get_element_dataRead type, layer, and requested property values for specific Archicad elements, including classification, GDL, marker, and IFC data, and report any values that cannot be read.
Instructions
Read type, layer and requested values of the given elements. properties takes addresses: a property ('Group/Name', a built-in name or a property GUID, as search_definitions gives it); 'classification:' (the item ID); 'gdl:' (a GDL parameter of an object, lamp, door, window or other library part element); 'marker:' (a door's or window's marker parameter, Tapir 1.7.1); 'ifc:.' (an IFC property). Lengths in metres, angles in radians, attribute-typed GDL parameters as attribute indexes. 'gdl:', 'marker:', 'ifc:' and 'classification:' read every value, with display names in 'labels'; at most 20 elements per wildcard call. What could not be read for an element (a kind, a property or the layer) is named in its 'unreadable' with the reason; a property the official API refuses (on 2D elements and sub-elements, and definitions it does not support) is read through Tapir 2.0.0 or newer. include_classifications adds every system's item GUID.
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": {
"guids": "<guids>"
},
"name": "get_element_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| guids | Yes | ||
| properties | No | ||
| include_classifications | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||