(Re)build the active symbol library: system symbols, optionally overlaid by a schematic's frozen .symbols (which overrides system symbols).
(self, overlay_path=None)
| 556 | return lib |
| 557 | |
| 558 | def _build_library(self, overlay_path=None): |
| 559 | """(Re)build the active symbol library: system symbols, optionally |
| 560 | overlaid by a schematic's frozen <name>.symbols (which overrides system |
| 561 | symbols).""" |
| 562 | lib = self._make_library(overlay_path) |
| 563 | lib.inject_into_component_item() |
| 564 | self._library = lib |
| 565 | if hasattr(self, "_scene"): |
| 566 | self._scene._library = lib |
| 567 | |
| 568 | def _on_new(self): |
| 569 | self._scene.reset() |
no test coverage detected