Extract a library's style
extract_styleExtract style details from existing Altium PcbLib or SchLib files to learn widths, pad shapes, colors, and text settings. Use these patterns to create consistent new components.
Instructions
Extract style information from an existing Altium library file. A PcbLib reports track and arc widths per layer, pad shapes, text heights and the layer usage of every primitive kind (a via counts as Multi-Layer); a SchLib reports pin lengths, stroke widths and the stroke, fill and text colours of every record kind. Use this to learn from existing libraries and create consistent new components.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | Path to the .PcbLib or .SchLib file |