Get attributes
get_attributesLists Archicad attributes of a given type with their settings, or counts all types if omitted. Filter by name and optionally include detail for skins, pens, and layer states.
Instructions
Lists Archicad attributes of one type with their settings: {index, name, guid, folder?, ...type fields} using the SAME field names that the create_*/modify_attributes tools accept. Summary fields per type — Layer: hidden, locked, wireframe, intersectionGroup; Pen: color, width (mm); Line: lineType, scaleWithPlan, period; Fill: fillType, usage, bitmapPattern, spacingX/Y (pattern units × spacingX = meters), percent; Composite: totalThickness, skinCount, usage; Surface: color, transparency, reflection, fill, texture; LayerCombination: active, layerCount; ZoneCategory: code, color, stamp; BuildingMaterial: cutFill, pens, surface, uiPriority (0-999 as in the UI), thermal properties; Profile: usage; PenTable: activeForModel/Layout; MEPSystem, OperationProfile. detailed: true adds composite skins and skin lines, per-layer states of layer combinations, dash/symbol items of line types, vector hatch lines, all pens of a pen table, profile size, dimension formats. Without type: returns the number of attributes of every type. Layer/LayerCombination results include the active layer combination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Attribute type to list (omit to get counts per type) | |
| limit | No | Return at most this many (default 300; the response has total/hasMore — narrow with nameFilter instead of paging when possible) | |
| offset | No | Skip this many matches (paging) | |
| detailed | No | Include definition details (skins, layer states, dashes, hatch lines, pens...). Default false | |
| attributes | No | Only these attributes (names, indices or {guid}); nameFilter/offset/limit are ignored then | |
| nameFilter | No | Case-insensitive name substring, or a wildcard pattern with * and ? (e.g. 'Бетон*') |