Library part GDL scripts
get_library_part_scriptsRetrieve the GDL source code for an Archicad library part's scripts—master, 2D, 3D, parameter, interface, properties—to study part logic or seed a new part.
Instructions
Returns the GDL source of a library part: masterScript, script2D, script3D, parameterScript, interfaceScript, propertiesScript (default), and on request forwardMigrationScript, backwardMigrationScript, comment, keywords. Great for learning how a standard part works or as a starting point for create_library_part. Encrypted parts return errors. Long scripts are cut at maxLength characters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scripts | No | Which scripts (default: the 6 main scripts) | |
| maxLength | No | Max characters per script (default 60000) | |
| libraryPart | Yes | Library part name (localized! use search_library_parts), index, or {guid: '{MAIN}-{REV}'} |