Library part details
get_library_part_detailsRetrieve identity, location, subtype, sizes, and default GDL parameters for Archicad library parts before placement, with optional allowed value lists for validation.
Instructions
Everything about library parts before placing them: identity (name, guid, index, type, file), file location and containing library, subtype/ancestry, creator tool, sections, comment/keywords, default sizes (sizeA, sizeB, height) and the DEFAULT GDL parameters [{name, type, description, value, valueDescription?, hidden?, arrayDims?, valueList?}] — the parameter names are what create_objects params and set_gdl_parameters expect. includeValueLists adds the allowed values/ranges from the parameter script (slower: use with parameterNames).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| libraryParts | Yes | Library parts (name, index or {guid}) | |
| includeHidden | No | Also include hidden parameters (default false) | |
| parameterNames | No | Only these parameters (exact names, case-insensitive) | |
| includeParameters | No | Include the default GDL parameters (default true) | |
| includeValueLists | No | Add allowed values / ranges of each returned parameter (default false) |