Compare two libraries
diff_librariesCompare two Altium library files of the same type to report added, removed, and modified components plus stored stream and library stream differences.
Instructions
Compare two Altium library files and report differences. Shows added, removed, and modified components, a component counting as modified when its description, designator or count of any primitive kind differs. Each one in both files is also compared by the bytes of every stream it is stored in, so a change the model does not show is reported too: under modified as stored stream changes, or under stored_only when the compared fields are equal. Between a library and its own rewrite, a stored_only component is one the rewrite changed without being asked; between libraries saved apart, record identities differ and stored_only is expected. library_streams lists the library's own streams that differ (a PcbLib's Library/Data records its save path and time, so it differs after every save). Both files must be the same type (.PcbLib or .SchLib).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath_a | Yes | Path to the first (base/old) library file | |
| filepath_b | Yes | Path to the second (new/changed) library file |