create_sym_lib_table
Create a sym-lib-table file in the given directory.
Instructions
Create a sym-lib-table file in the given directory.
Each entry dict needs 'name' (the library nickname) and 'uri' (its path, usually
"${KIPRJMOD}/..."). Overwrites existing sym-lib-table if present. A backslash in a uri
is written as '/', as KiCad stores it.
The whole list is checked first. An entry that cannot be written as given refuses the
call, names the entry, and leaves any existing table as it was: an empty name; a name
holding a character below U+0020, a backslash or a colon (a library nickname cannot);
a name an earlier entry has; an empty uri; a double quote in a name or uri, or a line
end or NUL in a uri (KiCad 9 and KiCad 10 read these differently in a table).
Args:
directory: Directory to write sym-lib-table in
entries: List of dicts with 'name' and 'uri' keys
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | Yes | ||
| directory | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |