Get element components
get_element_componentsRetrieves the building-material components of Archicad elements—skins, profiles, basic structures—returning summary data or specified properties.
Instructions
Lists the components of elements — the building-material parts that Archicad lists in component schedules (one per skin of a composite, per profile part, per basic structure). By default each component comes with a summary: BuildingMaterial_Name, Component_Thickness (m), Component_NetVolume / Component_GrossVolume (m³), Component_NetProjectedArea / Component_CrossSectionArea (m²). Pass properties to read other values instead, or [] for ids only. Output: {elements: [{guid, components: [{component, values: {name: value}, unavailable?: {name: status}}]} | {guid, error}]}. Use get_component_property_values to read more properties of specific components.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elements | Yes | Element GUIDs | |
| properties | No | Properties to read per component (default: the summary above; [] = component ids only) |